public interface ILocalCluster
Modifier and Type | Method and Description |
---|---|
void |
activate(String topologyName) |
void |
deactivate(String topologyName) |
ClusterSummary |
getClusterInfo() |
Map |
getState() |
StormTopology |
getTopology(String id) |
String |
getTopologyConf(String id) |
TopologyInfo |
getTopologyInfo(String id) |
void |
killTopology(String topologyName) |
void |
killTopologyWithOpts(String name,
KillOptions options) |
void |
rebalance(String name,
RebalanceOptions options) |
void |
shutdown() |
void |
submitTopology(String topologyName,
Map conf,
StormTopology topology) |
void |
submitTopologyWithOpts(String topologyName,
Map conf,
StormTopology topology,
SubmitOptions submitOpts) |
void |
uploadNewCredentials(String topologyName,
Credentials creds) |
void submitTopology(String topologyName, Map conf, StormTopology topology) throws AlreadyAliveException, InvalidTopologyException
void submitTopologyWithOpts(String topologyName, Map conf, StormTopology topology, SubmitOptions submitOpts) throws AlreadyAliveException, InvalidTopologyException
void uploadNewCredentials(String topologyName, Credentials creds)
void killTopology(String topologyName) throws NotAliveException
NotAliveException
void killTopologyWithOpts(String name, KillOptions options) throws NotAliveException
NotAliveException
void activate(String topologyName) throws NotAliveException
NotAliveException
void deactivate(String topologyName) throws NotAliveException
NotAliveException
void rebalance(String name, RebalanceOptions options) throws NotAliveException
NotAliveException
void shutdown()
StormTopology getTopology(String id)
ClusterSummary getClusterInfo()
TopologyInfo getTopologyInfo(String id)
Map getState()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.