org.codehaus.wadi.dindex
Interface PartitionManager
- All Known Implementing Classes:
- SimplePartitionManager
- public interface PartitionManager
A PartitionManager is responsible for unambiguously renegotiating Partition ownership every time
that there is a change in Cluster membership and exposing these Partitions to the rest of the program,
whether local or Remote.
A lot of work needed here...
- Author:
- jules
getPartition
public PartitionFacade getPartition(int partition)
getPartition
public PartitionFacade getPartition(Object key)
getPartitionKeys
public PartitionKeys getPartitionKeys()
getNumPartitions
public int getNumPartitions()
init
public void init(PartitionManagerConfig config)
start
public void start()
throws Exception
- Throws:
Exception
evacuate
public void evacuate()
throws Exception
- Throws:
Exception
stop
public void stop()
throws Exception
- Throws:
Exception
update
public void update(Node node)
regenerateMissingPartitions
public void regenerateMissingPartitions(Node[] living,
Node[] leaving)
localise
public void localise()
Copyright © 2004-2008 Core Developers Network Ltd.. All Rights Reserved.