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 void
activate(String topologyName)
void
deactivate(String topologyName)
Map
getState()
StormTopology
getTopology(String id)
String
getTopologyConf(String id)
void
killTopology(String topologyName)
void
shutdown()
void
submitTopology(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()
-
-