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 PartitionCoordinator
public PartitionManager getManager(Partition partition)
getManager
in interface PartitionCoordinator
public void refresh()
refresh
in interface PartitionCoordinator
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.