Package com.rpl.rama.cluster
Interface ClusterManagerBase
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Subinterfaces:
InProcessCluster,RamaClusterManager
Interface for retrieving depots, PStates, and query topology clients from a real cluster
or
InProcessCluster- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionclusterDepot(String moduleName, String depotName) Retrieve client for a DepotclusterPState(String moduleName, String pstateName) Retrieve client for a PState<T> QueryTopologyClient<T> clusterQuery(String moduleName, String topologyName) Retrieve client for a query topologyRetrieves set of the names of all deployed modules on this cluster.getMicrobatchDepotInfo(String moduleName, String topologyName) Retrieve information about a microbatch topology's latest processed offsets for all depots depended on by the topology.
-
Method Details
-
clusterPState
Retrieve client for a PState- Parameters:
moduleName- Owning module of PStatepstateName- PState name from its declaration
-
clusterDepot
Retrieve client for a Depot- Parameters:
moduleName- Owning module of PStatedepotName- Depot name from its declaration
-
clusterQuery
Retrieve client for a query topology- Parameters:
moduleName- Owning module of PStatetopologyName- Name of topology from its declaration
-
getDeployedModuleNames
Retrieves set of the names of all deployed modules on this cluster. -
getMicrobatchDepotInfo
Map<String,Map<String, getMicrobatchDepotInfoMap<Integer, MicrobatchParams>>> (String moduleName, String topologyName) Retrieve information about a microbatch topology's latest processed offsets for all depots depended on by the topology.- Parameters:
moduleName- Owning module of the topologytopologyName- Name of topology from its declaration- Returns:
- a map of moduleName to depotName to partitionIndex to MicrobatchParams
-