org.apache.zookeeper.txn
Class TxnHeader
java.lang.Object
org.apache.zookeeper.txn.TxnHeader
- All Implemented Interfaces:
- org.apache.jute.Record
public class TxnHeader
- extends Object
- implements org.apache.jute.Record
Constructor Summary |
TxnHeader()
|
TxnHeader(long clientId,
int cxid,
long zxid,
long time,
int type)
|
TxnHeader
public TxnHeader()
TxnHeader
public TxnHeader(long clientId,
int cxid,
long zxid,
long time,
int type)
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(org.apache.jute.OutputArchive a_,
String tag)
throws IOException
- Specified by:
serialize
in interface org.apache.jute.Record
- Throws:
IOException
deserialize
public void deserialize(org.apache.jute.InputArchive a_,
String tag)
throws IOException
- Specified by:
deserialize
in interface org.apache.jute.Record
- 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 © 2012 The Apache Software Foundation