voldemort.cluster
Class Zone
java.lang.Object
voldemort.cluster.Zone
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Zone>
public class Zone
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Comparable<Zone>
- See Also:
- Serialized Form
Constructor Summary |
Zone()
|
Zone(int zoneId,
java.util.List<java.lang.Integer> proximityList)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DEFAULT_ZONE_ID
public static final int DEFAULT_ZONE_ID
- See Also:
- Constant Field Values
UNSET_ZONE_ID
public static final int UNSET_ZONE_ID
- See Also:
- Constant Field Values
Zone
public Zone(int zoneId,
java.util.List<java.lang.Integer> proximityList)
Zone
public Zone()
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
compareTo
public int compareTo(Zone other)
- Specified by:
compareTo
in interface java.lang.Comparable<Zone>
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getId
public int getId()
getProximityList
public java.util.List<java.lang.Integer> getProximityList()
Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu