public interface IStormClusterState
Assignment assignmentInfo(String stormId, Runnable callback)
VersionedData<Assignment> assignmentInfoWithVersion(String stormId, Runnable callback)
Integer assignmentVersion(String stormId, Runnable callback) throws Exception
Exception
List nimbuses()
void addNimbusHost(String nimbusId, NimbusSummary nimbusSummary)
ClusterWorkerHeartbeat getWorkerHeartbeat(String stormId, String node, Long port)
List<ProfileRequest> getWorkerProfileRequests(String stormId, NodeInfo nodeInfo)
List<ProfileRequest> getTopologyProfileRequests(String stormId)
void setWorkerProfileRequest(String stormId, ProfileRequest profileRequest)
void deleteTopologyProfileRequests(String stormId, ProfileRequest profileRequest)
Map<ExecutorInfo,ExecutorBeat> executorBeats(String stormId, Map<List<Long>,NodeInfo> executorNodePort)
SupervisorInfo supervisorInfo(String supervisorId)
void teardownHeartbeats(String stormId)
void teardownTopologyErrors(String stormId)
void setTopologyLogConfig(String stormId, LogConfig logConfig, Map<String,Object> topoConf)
void workerHeartbeat(String stormId, String node, Long port, ClusterWorkerHeartbeat info)
void supervisorHeartbeat(String supervisorId, SupervisorInfo info)
void removeBackpressure(String stormId)
void removeStormBase(String stormId)
void setAssignment(String stormId, Assignment info, Map<String,Object> topoConf)
void setupBlobstore(String key, NimbusInfo nimbusInfo, Integer versionInfo)
void removeStorm(String stormId)
void removeBlobstoreKey(String blobKey)
void removeKeyVersion(String blobKey)
void reportError(String stormId, String componentId, String node, Long port, Throwable error)
void setCredentials(String stormId, Credentials creds, Map topoConf)
Credentials credentials(String stormId, Runnable callback)
void disconnect()
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.