Package org.apache.storm
Interface ILocalCluster
-
- All Known Implementing Classes:
LocalCluster
public interface ILocalCluster
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidactivate(String topologyName)voiddeactivate(String topologyName)MapgetState()StormTopologygetTopology(String id)StringgetTopologyConf(String id)voidkillTopology(String topologyName)voidshutdown()voidsubmitTopology(String topologyName, Map conf, StormTopology topology)
-
-
-
Method Detail
-
submitTopology
void submitTopology(String topologyName, Map conf, StormTopology topology) throws AlreadyAliveException, InvalidTopologyException
-
killTopology
void killTopology(String topologyName) throws NotAliveException
- Throws:
NotAliveException
-
activate
void activate(String topologyName) throws NotAliveException
- Throws:
NotAliveException
-
deactivate
void deactivate(String topologyName) throws NotAliveException
- Throws:
NotAliveException
-
shutdown
void shutdown()
-
getTopology
StormTopology getTopology(String id)
-
getState
Map getState()
-
-