org.codehaus.wadi.gridstate.impl
Class DummyPartitionManager
java.lang.Object
org.codehaus.wadi.gridstate.impl.DummyPartitionManager
- All Implemented Interfaces:
- PartitionConfig, PartitionManager
- public class DummyPartitionManager
- extends Object
- implements PartitionManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_numPartitions
protected final int _numPartitions
DummyPartitionManager
public DummyPartitionManager(int numPartitions)
init
public void init(PartitionManagerConfig config)
- Specified by:
init in interface PartitionManager
start
public void start()
- Specified by:
start in interface PartitionManager
stop
public void stop()
- Specified by:
stop in interface PartitionManager
getPartitions
public PartitionFacade[] getPartitions()
- Specified by:
getPartitions in interface PartitionManager
getNumPartitions
public int getNumPartitions()
- Specified by:
getNumPartitions in interface PartitionManager
getPartition
public PartitionFacade getPartition(Object key)
- Specified by:
getPartition in interface PartitionManager
getDispatcher
public Dispatcher getDispatcher()
- Specified by:
getDispatcher in interface PartitionConfig
getLocalDestination
public Destination getLocalDestination()
- Specified by:
getLocalDestination in interface PartitionConfig
evacuate
public void evacuate()
- Specified by:
evacuate in interface PartitionManager
Copyright © 2004-2008 Core Developers Network Ltd.. All Rights Reserved.