public class StaticCoordinator extends Object implements PartitionCoordinator
| Constructor and Description |
|---|
StaticCoordinator(DynamicPartitionConnections connections,
Map stormConf,
SpoutConfig config,
ZkState state,
int taskIndex,
int totalTasks,
int taskId,
String topologyInstanceId) |
| Modifier and Type | Method and Description |
|---|---|
PartitionManager |
getManager(Partition partition) |
List<PartitionManager> |
getMyManagedPartitions() |
void |
refresh() |
public StaticCoordinator(DynamicPartitionConnections connections, Map stormConf, SpoutConfig config, ZkState state, int taskIndex, int totalTasks, int taskId, String topologyInstanceId)
public List<PartitionManager> getMyManagedPartitions()
getMyManagedPartitions in interface PartitionCoordinatorpublic PartitionManager getManager(Partition partition)
getManager in interface PartitionCoordinatorpublic void refresh()
refresh in interface PartitionCoordinatorCopyright © 2019 The Apache Software Foundation. All Rights Reserved.