org.apache.zookeeper.data
Class Id
java.lang.Object
org.apache.zookeeper.data.Id
public class Id
- extends Object
Id
public Id()
Id
public Id(String scheme,
String id)
getScheme
public String getScheme()
setScheme
public void setScheme(String m_)
getId
public String getId()
setId
public void setId(String m_)
serialize
public void serialize(OutputArchive a_,
String tag)
throws IOException
- Throws:
IOException
deserialize
public void deserialize(InputArchive a_,
String tag)
throws IOException
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
write
public void write(DataOutput out)
throws IOException
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Throws:
IOException
compareTo
public int compareTo(Object peer_)
throws ClassCastException
- Throws:
ClassCastException
equals
public boolean equals(Object peer_)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
signature
public static String signature()
Copyright © 2009 The Apache Software Foundation