storm.kafka
Class StaticCoordinator

java.lang.Object
  extended by storm.kafka.StaticCoordinator
All Implemented Interfaces:
PartitionCoordinator

public class StaticCoordinator
extends Object
implements PartitionCoordinator


Constructor Summary
StaticCoordinator(DynamicPartitionConnections connections, Map stormConf, SpoutConfig config, ZkState state, int taskIndex, int totalTasks, String topologyInstanceId)
           
 
Method Summary
 PartitionManager getManager(Partition partition)
           
 List<PartitionManager> getMyManagedPartitions()
           
 void refresh()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticCoordinator

public StaticCoordinator(DynamicPartitionConnections connections,
                         Map stormConf,
                         SpoutConfig config,
                         ZkState state,
                         int taskIndex,
                         int totalTasks,
                         String topologyInstanceId)
Method Detail

getMyManagedPartitions

public List<PartitionManager> getMyManagedPartitions()
Specified by:
getMyManagedPartitions in interface PartitionCoordinator

getManager

public PartitionManager getManager(Partition partition)
Specified by:
getManager in interface PartitionCoordinator

refresh

public void refresh()
Specified by:
refresh in interface PartitionCoordinator


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.