All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
activateWorkerWhenAllConnectionsReady()
we will wait all connections to be ready and then activate the spout/bolt when the worker bootup.
|
boolean |
areAllConnectionsReady() |
void |
checkSerialize(KryoTupleSerializer serializer,
AddressedTuple tuple) |
void |
closeResources() |
void |
flushRemotes() |
AtomicReference<Map<String,VersionedData<Assignment>>> |
getAssignmentVersions() |
Collection<IAutoCredentials> |
getAutoCredentials() |
Map<String,Long> |
getBlobToLastKnownVersion() |
AtomicReference<Map<NodeInfo,IConnection>> |
getCachedNodeToPortSocket() |
Map<String,List<Integer>> |
getComponentToSortedTasks() |
Map<String,Map<String,Fields>> |
getComponentToStreamToFields() |
Map<String,Object> |
getConf() |
Credentials |
getCredentials() |
Map<String,Object> |
getDefaultSharedResources() |
List<IWorkerHook> |
getDeserializedWorkerHooks() |
Map<List<Long>,JCQueue> |
getExecutorReceiveQueueMap() |
AtomicBoolean |
getIsTopologyActive() |
CountDownLatch |
getIsWorkerActive() |
LoadMapping |
getLoadMapping() |
Set<List<Long>> |
getLocalExecutors() |
Map<Integer,JCQueue> |
getLocalReceiveQueues() |
List<Integer> |
getLocalTaskIds() |
StormMetricRegistry |
getMetricRegistry() |
Set<Integer> |
getOutboundTasks() |
int |
getPort() |
IConnection |
getReceiver() |
IStateStorage |
getStateStorage() |
AtomicReference<Map<String,DebugOptions>> |
getStormComponentToDebug() |
Runnable |
getSuicideCallback() |
StormTopology |
getSystemTopology() |
Map<Integer,String> |
getTaskToComponent() |
StormTopology |
getTopology() |
Map<String,Object> |
getTopologyConf() |
String |
getTopologyId() |
JCQueue |
getTransferQueue() |
Utils.UptimeComputer |
getUptime() |
Map<String,Object> |
getUserSharedResources() |
StormTimer |
getUserTimer() |
String |
getWorkerId() |
WorkerTopologyContext |
getWorkerTopologyContext() |
void |
haltWorkerTransfer() |
boolean |
hasRemoteOutboundTasks()
Check if this worker has remote outbound tasks.
|
static boolean |
isConnectionReady(IConnection connection) |
boolean |
isSingleWorker()
If all the tasks are local tasks, the topology has only one worker.
|
Utils.SmartThread |
makeTransferThread() |
void |
refreshBackPressureStatus() |
void |
refreshConnections() |
void |
refreshLoad(List<IRunningExecutor> execs) |
void |
refreshStormActive() |
void |
refreshStormActive(Runnable callback) |
void |
runWorkerShutdownHooks() |
void |
runWorkerStartHooks() |
void |
setCredentials(Credentials credentials) |
void |
suicideIfLocalAssignmentsChanged(Assignment assignment) |
boolean |
tryFlushRemotes() |
boolean |
tryTransferRemote(AddressedTuple tuple,
Queue<AddressedTuple> pendingEmits,
ITupleSerializer serializer) |