voldemort.cluster
Class Zone

java.lang.Object
  extended by voldemort.cluster.Zone
All Implemented Interfaces:
java.io.Serializable

public class Zone
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static int DEFAULT_ZONE_ID
           
 
Constructor Summary
Zone()
           
Zone(int zoneId, java.util.LinkedList<java.lang.Integer> proximityList)
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 int getId()
           
 java.util.LinkedList<java.lang.Integer> getProximityList()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_ZONE_ID

public static final int DEFAULT_ZONE_ID
See Also:
Constant Field Values
Constructor Detail

Zone

public Zone(int zoneId,
            java.util.LinkedList<java.lang.Integer> proximityList)

Zone

public Zone()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getId

public int getId()

getProximityList

public java.util.LinkedList<java.lang.Integer> getProximityList()


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu