Constructor and Description |
---|
TxnHeader() |
TxnHeader(long clientId,
int cxid,
long zxid,
long time,
int type) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object peer_) |
void |
deserialize(InputArchive a_,
String tag) |
boolean |
equals(Object peer_) |
long |
getClientId() |
int |
getCxid() |
long |
getTime() |
int |
getType() |
long |
getZxid() |
int |
hashCode() |
void |
readFields(DataInput in) |
void |
serialize(OutputArchive a_,
String tag) |
void |
setClientId(long m_) |
void |
setCxid(int m_) |
void |
setTime(long m_) |
void |
setType(int m_) |
void |
setZxid(long m_) |
static String |
signature() |
String |
toString() |
void |
write(DataOutput out) |
public TxnHeader()
public TxnHeader(long clientId, int cxid, long zxid, long time, int type)
public long getClientId()
public void setClientId(long m_)
public int getCxid()
public void setCxid(int m_)
public long getZxid()
public void setZxid(long m_)
public long getTime()
public void setTime(long m_)
public int getType()
public void setType(int m_)
public void serialize(OutputArchive a_, String tag) throws IOException
serialize
in interface Record
IOException
public void deserialize(InputArchive a_, String tag) throws IOException
deserialize
in interface Record
IOException
public void write(DataOutput out) throws IOException
IOException
public void readFields(DataInput in) throws IOException
IOException
public int compareTo(Object peer_) throws ClassCastException
ClassCastException
public static String signature()
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.