public class RuntimeManagerRunner
extends java.lang.Object
implements java.util.concurrent.Callable<java.lang.Boolean>
Constructor and Description |
---|
RuntimeManagerRunner(Config config,
Config runtime,
Command command,
ISchedulerClient schedulerClient) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
activateTopologyHandler(java.lang.String topologyName)
Handler to activate a topology
|
java.lang.Boolean |
call() |
protected boolean |
cleanState(java.lang.String topologyName,
SchedulerStateManagerAdaptor statemgr)
Clean all states of a heron topology
1.
|
protected boolean |
deactivateTopologyHandler(java.lang.String topologyName)
Handler to deactivate a topology
|
protected boolean |
killTopologyHandler(java.lang.String topologyName)
Handler to kill a topology
|
protected boolean |
restartTopologyHandler(java.lang.String topologyName)
Handler to restart a topology
|
public RuntimeManagerRunner(Config config, Config runtime, Command command, ISchedulerClient schedulerClient)
public java.lang.Boolean call()
call
in interface java.util.concurrent.Callable<java.lang.Boolean>
protected boolean activateTopologyHandler(java.lang.String topologyName)
protected boolean deactivateTopologyHandler(java.lang.String topologyName)
protected boolean restartTopologyHandler(java.lang.String topologyName)
protected boolean killTopologyHandler(java.lang.String topologyName)
protected boolean cleanState(java.lang.String topologyName, SchedulerStateManagerAdaptor statemgr)