backtype.storm
Interface ILocalCluster
public interface ILocalCluster
submitTopology
void submitTopology(String topologyName,
Map conf,
StormTopology topology)
throws AlreadyAliveException,
InvalidTopologyException
- Throws:
AlreadyAliveException
InvalidTopologyException
submitTopologyWithOpts
void submitTopologyWithOpts(String topologyName,
Map conf,
StormTopology topology,
SubmitOptions submitOpts)
throws AlreadyAliveException,
InvalidTopologyException
- Throws:
AlreadyAliveException
InvalidTopologyException
killTopology
void killTopology(String topologyName)
throws NotAliveException
- Throws:
NotAliveException
killTopologyWithOpts
void killTopologyWithOpts(String name,
KillOptions options)
throws NotAliveException
- Throws:
NotAliveException
activate
void activate(String topologyName)
throws NotAliveException
- Throws:
NotAliveException
deactivate
void deactivate(String topologyName)
throws NotAliveException
- Throws:
NotAliveException
rebalance
void rebalance(String name,
RebalanceOptions options)
throws NotAliveException
- Throws:
NotAliveException
shutdown
void shutdown()
getTopologyConf
String getTopologyConf(String id)
getTopology
StormTopology getTopology(String id)
getClusterInfo
ClusterSummary getClusterInfo()
getTopologyInfo
TopologyInfo getTopologyInfo(String id)
getState
Map getState()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.