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