public class LocalCluster extends java.lang.Object implements ILocalCluster
| Constructor and Description |
|---|
LocalCluster() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(java.lang.String topoName) |
void |
deactivate(java.lang.String topoName) |
java.util.Map |
getState() |
StormTopology |
getTopology(java.lang.String topoName) |
java.lang.String |
getTopologyConf(java.lang.String topoName) |
void |
killTopology(java.lang.String topoName) |
void |
shutdown() |
void |
submitTopology(java.lang.String topoName,
java.util.Map config,
StormTopology stormTopology) |
public void submitTopology(java.lang.String topoName,
java.util.Map config,
StormTopology stormTopology)
throws AlreadyAliveException,
InvalidTopologyException
submitTopology in interface ILocalClusterAlreadyAliveExceptionInvalidTopologyExceptionpublic void killTopology(java.lang.String topoName)
throws NotAliveException
killTopology in interface ILocalClusterNotAliveExceptionpublic void activate(java.lang.String topoName)
throws NotAliveException
activate in interface ILocalClusterNotAliveExceptionpublic void deactivate(java.lang.String topoName)
throws NotAliveException
deactivate in interface ILocalClusterNotAliveExceptionpublic void shutdown()
shutdown in interface ILocalClusterpublic java.lang.String getTopologyConf(java.lang.String topoName)
getTopologyConf in interface ILocalClusterpublic StormTopology getTopology(java.lang.String topoName)
getTopology in interface ILocalClusterpublic java.util.Map getState()
getState in interface ILocalCluster