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 -
-
Uses of TxnHeader in org.apache.zookeeper.server
Methods in org.apache.zookeeper.server that return TxnHeader Modifier and Type Method Description TxnHeaderRequest. getHdr()TxnHeaderTxnLogEntry. getHeader()Methods in org.apache.zookeeper.server with parameters of type TxnHeader Modifier and Type Method Description booleanDataTree. 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.ProcessTxnResultDataTree. processTxn(TxnHeader header, Record txn)DataTree.ProcessTxnResultDataTree. processTxn(TxnHeader header, Record txn, boolean isSubTxn)DataTree.ProcessTxnResultDataTree. processTxn(TxnHeader header, Record txn, TxnDigest digest)DataTree.ProcessTxnResultZKDatabase. processTxn(TxnHeader hdr, Record txn, TxnDigest digest)the process txn on the data and perform digest comparision.DataTree.ProcessTxnResultZooKeeperServer. processTxn(TxnHeader hdr, Record txn)voidRequest. setHdr(TxnHeader hdr)Constructors in org.apache.zookeeper.server with parameters of type TxnHeader Constructor Description Request(long sessionId, int xid, int type, TxnHeader hdr, Record txn, long zxid)TxnLogEntry(Record txn, TxnHeader header, TxnDigest digest) -
Uses of TxnHeader in org.apache.zookeeper.server.persistence
Methods in org.apache.zookeeper.server.persistence that return TxnHeader Modifier and Type Method Description TxnHeaderFileTxnLog.FileTxnIterator. getHeader()return the current headerTxnHeaderTxnLog.TxnIterator. getHeader()return the transaction header.Methods in org.apache.zookeeper.server.persistence with parameters of type TxnHeader Modifier and Type Method Description booleanFileTxnLog. append(TxnHeader hdr, Record txn)append an entry to the transaction logbooleanFileTxnLog. append(TxnHeader hdr, Record txn, TxnDigest digest)booleanTxnLog. append(TxnHeader hdr, Record r)Append a request to the transaction logbooleanTxnLog. append(TxnHeader hdr, Record r, TxnDigest digest)Append 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, java.util.Map<java.lang.Long,java.lang.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 TxnHeader Modifier and Type Method Description voidFollowerZooKeeperServer. logRequest(TxnHeader hdr, Record txn, TxnDigest digest)
-