public class StaticCoordinator implements PartitionCoordinator {
Map<GlobalPartitionId, PartitionManager> _managers = new HashMap<GlobalPartitionId, PartitionManager>();
List<PartitionManager> _allManagers = new ArrayList();
public StaticCoordinator(DynamicPartitionConnections connections, Map stormConf, SpoutConfig config, ZkState state, int taskIndex, int totalTasks, String topologyInstanceId) {
StaticHosts hosts = (StaticHosts) config.hosts;
List<GlobalPartitionId> allPartitionIds = new ArrayList();
for(HostPort h: hosts.hosts) {
for(int i=0; i<hosts.partitionsPerHost; i++) {
allPartitionIds.add(new GlobalPartitionId(h, i));
}