public class SpoutExecutor extends Executor
ackingEnabled, componentId, conf, credentials, executorId, executorTransfer, groupers, hasEventLoggers, hostname, idToTask, idToTaskBase, intervalToTaskToMetricToRegistry, isDebug, openOrPrepareWasCalled, pendingEmits, rand, receiveQueue, reportError, reportErrorDie, sampler, sharedExecutorData, stormActive, stormClusterState, stormComponentDebug, stormId, streamToComponentToGrouper, suicideFn, taskIds, taskToComponent, topoConf, type, workerData, workerReady, workerTopologyContext
Constructor and Description |
---|
SpoutExecutor(WorkerState workerData,
List<Long> executorId,
Map<String,String> credentials) |
Modifier and Type | Method and Description |
---|---|
void |
ackSpoutMsg(SpoutExecutor executor,
Task taskData,
Long timeDelta,
TupleInfo tupleInfo) |
Callable<Long> |
call() |
void |
failSpoutMsg(SpoutExecutor executor,
Task taskData,
Long timeDelta,
TupleInfo tupleInfo,
String reason) |
int |
getSpoutRecvqCheckSkipCount() |
SpoutExecutorStats |
getStats() |
long |
getThreadId() |
void |
init(ArrayList<Task> idToTask,
int idToTaskBase) |
void |
tupleActionFn(int taskId,
TupleImpl tuple) |
accept, execute, flush, getComponentId, getExecutorId, getExecutorTransfer, getIntervalToTaskToMetricToRegistry, getIsDebug, getOpenOrPrepareWasCalled, getPendingEmits, getReceiveQueue, getReportError, getSharedExecutorData, getStormClusterState, getStormComponentDebug, getStormId, getStreamToComponentToGrouper, getTaskIds, getTopoConf, getType, getWorkerData, getWorkerTopologyContext, incrementReportedErrorCount, metricsTick, mkExecutor, publishFlushTuple, reflectNewLoadMapping, samplerCheck, setLocalExecutorTransfer, setNeedToRefreshCreds, setupMetrics, setupTicks, updateExecCredsIfRequired
public SpoutExecutorStats getStats()
public void init(ArrayList<Task> idToTask, int idToTaskBase) throws InterruptedException
InterruptedException
public void tupleActionFn(int taskId, TupleImpl tuple) throws Exception
tupleActionFn
in class Executor
Exception
public void ackSpoutMsg(SpoutExecutor executor, Task taskData, Long timeDelta, TupleInfo tupleInfo)
public void failSpoutMsg(SpoutExecutor executor, Task taskData, Long timeDelta, TupleInfo tupleInfo, String reason)
public int getSpoutRecvqCheckSkipCount()
public long getThreadId()
Copyright © 2022 The Apache Software Foundation. All rights reserved.