org.codehaus.wadi.gridstate.impl
Class RemotePartition

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

public class RemotePartition
extends Object
implements Partition


Field Summary
protected  PartitionConfig _config
           
protected  Destination _destination
           
protected  Log _log
           
 
Constructor Summary
RemotePartition(Destination destination)
           
 
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

_log

protected final Log _log

_destination

protected final Destination _destination

_config

protected PartitionConfig _config
Constructor Detail

RemotePartition

public RemotePartition(Destination destination)
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.