org.codehaus.wadi.location.partitionmanager
Interface PartitionManager

All Superinterfaces:
Lifecycle
All Known Implementing Classes:
SimplePartitionManager

public interface PartitionManager
extends Lifecycle

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.

Author:
Jules Gosnell

Field Summary
static ServiceName NAME
           
 
Method Summary
 void evacuate()
           
 PartitionBalancingInfo getBalancingInfo()
           
 Partition getPartition(java.lang.Object key)
           
 
Methods inherited from interface org.codehaus.wadi.core.Lifecycle
start, stop
 

Field Detail

NAME

static final ServiceName NAME
Method Detail

getPartition

Partition getPartition(java.lang.Object key)

getBalancingInfo

PartitionBalancingInfo getBalancingInfo()

evacuate

void evacuate()
              throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2008. All Rights Reserved.