Uses of Class
org.apache.zookeeper.txn.TxnHeader
-
Packages that use TxnHeader Package Description org.apache.zookeeper.server ZooKeeper server theory of operationorg.apache.zookeeper.server.persistence org.apache.zookeeper.server.quorum org.apache.zookeeper.server.upgrade org.apache.zookeeper.server.util -
-
Uses of TxnHeader in org.apache.zookeeper.server
Fields in org.apache.zookeeper.server declared as TxnHeader Modifier and Type Field Description TxnHeader
Request. hdr
Methods in org.apache.zookeeper.server with parameters of type TxnHeader Modifier and Type Method Description DataTree.ProcessTxnResult
DataTree. processTxn(TxnHeader header, org.apache.jute.Record txn)
DataTree.ProcessTxnResult
ZKDatabase. processTxn(TxnHeader hdr, org.apache.jute.Record txn)
the process txn on the dataDataTree.ProcessTxnResult
ZooKeeperServer. processTxn(TxnHeader hdr, org.apache.jute.Record txn)
Constructors in org.apache.zookeeper.server with parameters of type TxnHeader Constructor Description Request(long sessionId, int xid, int type, TxnHeader hdr, org.apache.jute.Record txn, long zxid)
-
Uses of TxnHeader in org.apache.zookeeper.server.persistence
Methods in org.apache.zookeeper.server.persistence that return TxnHeader Modifier and Type Method Description TxnHeader
FileTxnLog.FileTxnIterator. getHeader()
reutrn the current headerTxnHeader
TxnLog.TxnIterator. getHeader()
return the transaction header.Methods in org.apache.zookeeper.server.persistence with parameters of type TxnHeader Modifier and Type Method Description boolean
FileTxnLog. append(TxnHeader hdr, org.apache.jute.Record txn)
append an entry to the transaction logboolean
TxnLog. append(TxnHeader hdr, org.apache.jute.Record r)
Append a request to the transaction logstatic byte[]
Util. marshallTxnEntry(TxnHeader hdr, org.apache.jute.Record txn)
Serializes transaction header and transaction data into a byte buffer.void
FileTxnSnapLog.PlayBackListener. onTxnLoaded(TxnHeader hdr, org.apache.jute.Record rec)
void
FileTxnSnapLog. processTransaction(TxnHeader hdr, DataTree dt, java.util.Map<java.lang.Long,java.lang.Integer> sessions, org.apache.jute.Record txn)
process the transaction on the datatree -
Uses of TxnHeader in org.apache.zookeeper.server.quorum
Methods in org.apache.zookeeper.server.quorum with parameters of type TxnHeader Modifier and Type Method Description void
FollowerZooKeeperServer. logRequest(TxnHeader hdr, org.apache.jute.Record txn)
-
Uses of TxnHeader in org.apache.zookeeper.server.upgrade
Methods in org.apache.zookeeper.server.upgrade with parameters of type TxnHeader Modifier and Type Method Description DataTreeV1.ProcessTxnResult
DataTreeV1. processTxn(TxnHeader header, org.apache.jute.Record txn)
-
Uses of TxnHeader in org.apache.zookeeper.server.util
Methods in org.apache.zookeeper.server.util with parameters of type TxnHeader Modifier and Type Method Description static org.apache.jute.Record
SerializeUtils. deserializeTxn(byte[] txnBytes, TxnHeader hdr)
-