Uses of Class
org.apache.zookeeper.txn.TxnHeader
Packages that use TxnHeader
Package
Description
ZooKeeper server theory of operation
-
Uses of TxnHeader in org.apache.zookeeper.server
Methods in org.apache.zookeeper.server that return TxnHeaderMethods in org.apache.zookeeper.server with parameters of type TxnHeaderModifier and TypeMethodDescriptionboolean
DataTree.compareDigest
(TxnHeader header, Record txn, TxnDigest digest) Compares the digest of the tree with the digest present in transaction digest.boolean
ZKDatabase.compareDigest
(TxnHeader header, Record txn, TxnDigest digest) DataTree.processTxn
(TxnHeader header, Record txn) DataTree.processTxn
(TxnHeader header, Record txn, boolean isSubTxn) DataTree.processTxn
(TxnHeader header, Record txn, TxnDigest digest) ZKDatabase.processTxn
(TxnHeader hdr, Record txn, TxnDigest digest) the process txn on the data and perform digest comparision.ZooKeeperServer.processTxn
(TxnHeader hdr, Record txn) void
Constructors in org.apache.zookeeper.server with parameters of type TxnHeader -
Uses of TxnHeader in org.apache.zookeeper.server.persistence
Methods in org.apache.zookeeper.server.persistence that return TxnHeaderModifier and TypeMethodDescriptionFileTxnLog.FileTxnIterator.getHeader()
return the current headerTxnLog.TxnIterator.getHeader()
return the transaction header.Methods in org.apache.zookeeper.server.persistence with parameters of type TxnHeaderModifier and TypeMethodDescriptionstatic byte[]
Util.marshallTxnEntry
(TxnHeader hdr, Record txn, TxnDigest digest) Serializes transaction header and transaction data into a byte buffer.void
FileTxnSnapLog.PlayBackListener.onTxnLoaded
(TxnHeader hdr, Record rec, TxnDigest digest) void
FileTxnSnapLog.processTransaction
(TxnHeader hdr, DataTree dt, Map<Long, Integer> sessions, 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 TxnHeaderModifier and TypeMethodDescriptionvoid
FollowerZooKeeperServer.appendRequest
(TxnHeader hdr, Record txn, TxnDigest digest) Build a request for the txn and append it to the transaction logvoid
FollowerZooKeeperServer.logRequest
(TxnHeader hdr, Record txn, TxnDigest digest)