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 TypeMethodDescriptionbooleanDataTree.compareDigest(TxnHeader header, Record txn, TxnDigest digest) Compares the digest of the tree with the digest present in transaction digest.booleanZKDatabase.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) voidConstructors 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 TypeMethodDescriptionbooleanappend an entry to the transaction logbooleanbooleanAppend a request to the transaction logbooleanAppend a request to the transaction log with a digsetstatic byte[]Util.marshallTxnEntry(TxnHeader hdr, Record txn) Serializes transaction header and transaction data into a byte buffer.static byte[]Util.marshallTxnEntry(TxnHeader hdr, Record txn, TxnDigest digest) voidFileTxnSnapLog.PlayBackListener.onTxnLoaded(TxnHeader hdr, Record rec, TxnDigest digest) voidFileTxnSnapLog.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 TypeMethodDescriptionvoidFollowerZooKeeperServer.logRequest(TxnHeader hdr, Record txn, TxnDigest digest)