public class Simulator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Simulator.DefaultExceptionHandler
Handler for catching exceptions thrown by any threads (owned either by topology or heron
infrastructure).
|
Constructor and Description |
---|
Simulator() |
Simulator(boolean initialize) |
Modifier and Type | Method and Description |
---|---|
void |
activate(java.lang.String topologyName) |
void |
deactivate(java.lang.String topologyName) |
protected SystemConfig |
getSystemConfig() |
protected void |
init() |
protected boolean |
isSystemConfigExisted()
Check if the system config is already registered into the SingleRegistry
|
void |
killTopology(java.lang.String topologyName) |
protected void |
registerSystemConfig(SystemConfig sysConfig)
Register the given system config
|
void |
shutdown() |
void |
stop() |
void |
submitTopology(java.lang.String name,
Config heronConfig,
HeronTopology heronTopology) |
protected void init()
protected boolean isSystemConfigExisted()
protected void registerSystemConfig(SystemConfig sysConfig)
public void submitTopology(java.lang.String name, Config heronConfig, HeronTopology heronTopology)
public void killTopology(java.lang.String topologyName)
public void activate(java.lang.String topologyName)
public void deactivate(java.lang.String topologyName)
public void shutdown()
public void stop()
protected SystemConfig getSystemConfig()