public interface WorkerContext extends RuntimeContext, ServiceDiscoverer, MessagingContext, DatasetContext, PluginContext, Transactional, SecureStore, MetadataReader, MetadataWriter
Worker
.Modifier and Type | Method and Description |
---|---|
int |
getInstanceCount() |
int |
getInstanceId() |
WorkerSpecification |
getSpecification()
Returns the specification used to configure
Worker bounded to this context. |
getAdmin, getApplicationSpecification, getClusterName, getDataTracer, getNamespace, getRunId, getRuntimeArguments
getServiceURL, getServiceURL, getServiceURL, openConnection
getDirectMessagePublisher, getMessageFetcher, getMessagePublisher
discardDataset, getDataset, getDataset, getDataset, getDataset, releaseDataset
getPluginProperties, getPluginProperties, loadPluginClass, newPluginInstance, newPluginInstance
isFeatureEnabled
execute, execute
get, getData, getMetadata, list
getMetadata, getMetadata
addProperties, addTags, addTags, removeMetadata, removeProperties, removeProperties, removeTags, removeTags
WorkerSpecification getSpecification()
Worker
bounded to this context.int getInstanceCount()
int getInstanceId()
Copyright © 2024 Cask Data, Inc. Licensed under the Apache License, Version 2.0.