Package org.apache.storm.executor
Class ExecutorShutdown
- java.lang.Object
-
- org.apache.storm.executor.ExecutorShutdown
-
- All Implemented Interfaces:
Shutdownable
,IRunningExecutor
public class ExecutorShutdown extends Object implements Shutdownable, IRunningExecutor
-
-
Constructor Summary
Constructors Constructor Description ExecutorShutdown(Executor executor, List<Utils.SmartThread> threads, ArrayList<Task> taskDatas, JCQueue recvQueue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
credentialsChanged(Credentials credentials)
List<Long>
getExecutorId()
JCQueue
getReceiveQueue()
void
loadChanged(LoadMapping loadMapping)
boolean
publishFlushTuple()
ExecutorStats
renderStats()
void
shutdown()
-
-
-
Method Detail
-
renderStats
public ExecutorStats renderStats()
- Specified by:
renderStats
in interfaceIRunningExecutor
-
getExecutorId
public List<Long> getExecutorId()
- Specified by:
getExecutorId
in interfaceIRunningExecutor
-
credentialsChanged
public void credentialsChanged(Credentials credentials)
- Specified by:
credentialsChanged
in interfaceIRunningExecutor
-
loadChanged
public void loadChanged(LoadMapping loadMapping)
- Specified by:
loadChanged
in interfaceIRunningExecutor
-
getReceiveQueue
public JCQueue getReceiveQueue()
- Specified by:
getReceiveQueue
in interfaceIRunningExecutor
-
publishFlushTuple
public boolean publishFlushTuple()
- Specified by:
publishFlushTuple
in interfaceIRunningExecutor
-
shutdown
public void shutdown()
- Specified by:
shutdown
in interfaceShutdownable
-
-