Uses of Class
org.apache.zookeeper.txn.TxnDigest
Packages that use TxnDigest
Package
Description
ZooKeeper server theory of operation
-
Uses of TxnDigest in org.apache.zookeeper.server
Methods in org.apache.zookeeper.server that return TxnDigestMethods in org.apache.zookeeper.server with parameters of type TxnDigestModifier 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, TxnDigest digest) ZKDatabase.processTxn
(TxnHeader hdr, Record txn, TxnDigest digest) the process txn on the data and perform digest comparision.void
Request.setTxnDigest
(TxnDigest txnDigest) Constructors in org.apache.zookeeper.server with parameters of type TxnDigest -
Uses of TxnDigest in org.apache.zookeeper.server.persistence
Methods in org.apache.zookeeper.server.persistence that return TxnDigestModifier and TypeMethodDescriptionFileTxnLog.FileTxnIterator.getDigest()
TxnLog.TxnIterator.getDigest()
Methods in org.apache.zookeeper.server.persistence with parameters of type TxnDigestModifier 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) -
Uses of TxnDigest in org.apache.zookeeper.server.quorum
Methods in org.apache.zookeeper.server.quorum with parameters of type TxnDigestModifier and TypeMethodDescriptionFollowerZooKeeperServer.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)