org.codehaus.wadi.location.partitionmanager
Class AbstractPartition

java.lang.Object
  extended by org.codehaus.wadi.location.partitionmanager.AbstractPartition
All Implemented Interfaces:
Partition
Direct Known Subclasses:
RemotePartition, UnknownPartition

public abstract class AbstractPartition
extends java.lang.Object
implements Partition

Version:
$Revision:1815 $
Author:
Jules Gosnell

Field Summary
protected  int _key
           
 
Constructor Summary
AbstractPartition(int key)
           
 
Method Summary
 int getKey()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.wadi.location.partitionmanager.Partition
exchange, isLocal, onMessage, onMessage, onMessage, onMessage
 

Field Detail

_key

protected final int _key
Constructor Detail

AbstractPartition

public AbstractPartition(int key)
Method Detail

getKey

public int getKey()
Specified by:
getKey in interface Partition
Returns:
the Partition 'key' - a number between '0' and 'numPartitions-1'


Copyright © 2010. All Rights Reserved.