Package org.apache.zookeeper.txn
Class TxnHeader
- java.lang.Object
-
- org.apache.zookeeper.txn.TxnHeader
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Object peer_)voiddeserialize(InputArchive a_, String tag)booleanequals(Object peer_)longgetClientId()intgetCxid()longgetTime()intgetType()longgetZxid()inthashCode()voidreadFields(DataInput in)voidserialize(OutputArchive a_, String tag)voidsetClientId(long m_)voidsetCxid(int m_)voidsetTime(long m_)voidsetType(int m_)voidsetZxid(long m_)static Stringsignature()StringtoString()voidwrite(DataOutput out)
-
-
-
Method Detail
-
getClientId
public long getClientId()
-
setClientId
public void setClientId(long m_)
-
getCxid
public int getCxid()
-
setCxid
public void setCxid(int m_)
-
getZxid
public long getZxid()
-
setZxid
public void setZxid(long m_)
-
getTime
public long getTime()
-
setTime
public void setTime(long m_)
-
getType
public int getType()
-
setType
public void setType(int m_)
-
serialize
public void serialize(OutputArchive a_, String tag) throws IOException
- Specified by:
serializein interfaceRecord- Throws:
IOException
-
deserialize
public void deserialize(InputArchive a_, String tag) throws IOException
- Specified by:
deserializein interfaceRecord- Throws:
IOException
-
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
-
signature
public static String signature()
-
-