org.codehaus.wadi.gridstate.impl
Class PartitionFacade

java.lang.Object
  extended byorg.codehaus.wadi.gridstate.impl.PartitionFacade
All Implemented Interfaces:
Partition, PMPartition

public class PartitionFacade
extends Object
implements Partition


Field Summary
protected  Partition _partition
           
 
Method Summary
 Destination getDestination()
           
 int getKey()
           
 Location getLocation(Object key)
           
 ReadWriteLock getLock()
           
 Map getMap()
           
 void init(PartitionConfig config)
           
 boolean isLocal()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_partition

protected final Partition _partition
Method Detail

init

public void init(PartitionConfig config)
Specified by:
init in interface Partition

getDestination

public Destination getDestination()
Specified by:
getDestination in interface Partition

getLocation

public Location getLocation(Object key)
Specified by:
getLocation in interface Partition

getLock

public ReadWriteLock getLock()
Specified by:
getLock in interface Partition

getMap

public Map getMap()
Specified by:
getMap in interface Partition

isLocal

public boolean isLocal()
Specified by:
isLocal in interface PMPartition

getKey

public int getKey()
Specified by:
getKey in interface PMPartition


Copyright © 2004-2008 Core Developers Network Ltd.. All Rights Reserved.