# Uses of Interface
org.apache.jute.Record

Packages that use Record
Package
Description
org.apache.jute
Hadoop record I/O contains classes and a record description language translator for simplifying serialization and deserialization of records in a language-neutral manner.
org.apache.zookeeper
org.apache.zookeeper.data
org.apache.zookeeper.proto
org.apache.zookeeper.server
ZooKeeper server theory of operation
org.apache.zookeeper.server.controller
org.apache.zookeeper.server.persistence
org.apache.zookeeper.server.quorum
org.apache.zookeeper.txn

## Uses of Record in org.apache.jute

Methods in org.apache.jute with parameters of type Record
Modifier and Type
Method
Description
`void`
BinaryOutputArchive.`endRecord(Record r, String tag)`
`void`
OutputArchive.`endRecord(Record r, String tag)`
`void`
ToStringOutputArchive.`endRecord(Record r, String tag)`
`void`
RecordReader.`read(Record r)`
Deserialize a record.
`void`
BinaryInputArchive.`readRecord(Record r, String tag)`
`void`
InputArchive.`readRecord(Record r, String tag)`
`void`
BinaryOutputArchive.`startRecord(Record r, String tag)`
`void`
OutputArchive.`startRecord(Record r, String tag)`
`void`
ToStringOutputArchive.`startRecord(Record r, String tag)`
`void`
RecordWriter.`write(Record r)`
Serialize a record.
`void`
BinaryOutputArchive.`writeRecord(Record r, String tag)`
`void`
OutputArchive.`writeRecord(Record r, String tag)`
`void`
ToStringOutputArchive.`writeRecord(Record r, String tag)`

## Uses of Record in org.apache.zookeeper

Classes in org.apache.zookeeper that implement Record
Modifier and Type
Class
Description
`class`
`DeleteContainerRequest`
`class`
`MultiOperationRecord`
Encodes a composite operation.
`class`
`MultiResponse`
Handles the response from a multi request.
Methods in org.apache.zookeeper that return Record
Modifier and Type
Method
Description
`Record`
Op.Check.`toRequestRecord()`
`Record`
Op.Create.`toRequestRecord()`
`Record`
Op.CreateTTL.`toRequestRecord()`
`Record`
Op.Delete.`toRequestRecord()`
`Record`
Op.GetChildren.`toRequestRecord()`
`Record`
Op.GetData.`toRequestRecord()`
`Record`
Op.SetData.`toRequestRecord()`
`abstract Record`
Op.`toRequestRecord()`
Encodes an op for wire transmission.
Methods in org.apache.zookeeper with parameters of type Record
Modifier and Type
Method
Description
`org.apache.zookeeper.ClientCnxn.Packet`
ClientCnxn.`queuePacket(RequestHeader h, ReplyHeader r, Record request, Record response, AsyncCallback cb, String clientPath, String serverPath, Object ctx, ZooKeeper.WatchRegistration watchRegistration)`
`org.apache.zookeeper.ClientCnxn.Packet`
ClientCnxn.`queuePacket(RequestHeader h, ReplyHeader r, Record request, Record response, AsyncCallback cb, String clientPath, String serverPath, Object ctx, ZooKeeper.WatchRegistration watchRegistration, WatchDeregistration watchDeregistration)`
`void`
ClientCnxn.`sendPacket(Record request, Record response, AsyncCallback cb, int opCode)`
`ReplyHeader`
ClientCnxn.`submitRequest(RequestHeader h, Record request, Record response, ZooKeeper.WatchRegistration watchRegistration)`
`ReplyHeader`
ClientCnxn.`submitRequest(RequestHeader h, Record request, Record response, ZooKeeper.WatchRegistration watchRegistration, WatchDeregistration watchDeregistration)`

## Uses of Record in org.apache.zookeeper.data

Classes in org.apache.zookeeper.data that implement Record
Modifier and Type
Class
Description
`class`
`ACL`
`class`
`ClientInfo`
`class`
`Id`
`class`
`Stat`
`class`
`StatPersisted`

## Uses of Record in org.apache.zookeeper.proto

Classes in org.apache.zookeeper.proto that implement Record
Modifier and Type
Class
Description
`class`
`AddWatchRequest`
`class`
`AuthPacket`
`class`
`CheckVersionRequest`
`class`
`CheckWatchesRequest`
`class`
`ConnectRequest`
`class`
`ConnectResponse`
`class`
`Create2Response`
`class`
`CreateRequest`
`class`
`CreateResponse`
`class`
`CreateTTLRequest`
`class`
`DeleteRequest`
`class`
`ErrorResponse`
`class`
`ExistsRequest`
`class`
`ExistsResponse`
`class`
`GetACLRequest`
`class`
`GetACLResponse`
`class`
`GetAllChildrenNumberRequest`
`class`
`GetAllChildrenNumberResponse`
`class`
`GetChildren2Request`
`class`
`GetChildren2Response`
`class`
`GetChildrenRequest`
`class`
`GetChildrenResponse`
`class`
`GetDataRequest`
`class`
`GetDataResponse`
`class`
`GetEphemeralsRequest`
`class`
`GetEphemeralsResponse`
`class`
`GetMaxChildrenRequest`
`class`
`GetMaxChildrenResponse`
`class`
`GetSASLRequest`
`class`
`MultiHeader`
`class`
`ReconfigRequest`
`class`
`RemoveWatchesRequest`
`class`
`ReplyHeader`
`class`
`RequestHeader`
`class`
`SetACLRequest`
`class`
`SetACLResponse`
`class`
`SetDataRequest`
`class`
`SetDataResponse`
`class`
`SetMaxChildrenRequest`
`class`
`SetSASLRequest`
`class`
`SetSASLResponse`
`class`
`SetWatches`
`class`
`SetWatches2`
`class`
`SyncRequest`
`class`
`SyncResponse`
`class`
`WatcherEvent`
`class`
`WhoAmIResponse`

## Uses of Record in org.apache.zookeeper.server

Classes in org.apache.zookeeper.server that implement Record
Modifier and Type
Class
Description
`class`
`DataNode`
This class contains the data for a node in the data tree.
Methods in org.apache.zookeeper.server with type parameters of type Record
Modifier and Type
Method
Description
`<T extends Record>
T`
ByteBufferRequestRecord.`readRecord(Supplier<T> constructor)`
`<T extends Record>
T`
RequestRecord.`readRecord(Supplier<T> clazz)`
`<T extends Record>
T`
SimpleRequestRecord.`readRecord(Supplier<T> constructor)`
`<T extends Record>
T`
Request.`readRequestRecord(Supplier<T> constructor)`
`<T extends Record>
T`
Request.`readRequestRecordNoException(Supplier<T> constructor)`
Methods in org.apache.zookeeper.server that return Record
Modifier and Type
Method
Description
`Record`
Request.`getTxn()`
`Record`
TxnLogEntry.`getTxn()`
Methods in org.apache.zookeeper.server with parameters of type Record
Modifier and Type
Method
Description
`static void`
ByteBufferInputStream.`byteBuffer2Record(ByteBuffer bb, Record record)`
`boolean`
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)`
`static RequestRecord`
RequestRecord.`fromRecord(Record record)`
`protected void`
PrepRequestProcessor.`pRequest2Txn(int type, long zxid, Request request, Record record)`
This method will be called inside the ProcessRequestThread, which is a singleton, so there will be a single thread calling this code.
`DataTree.ProcessTxnResult`
DataTree.`processTxn(TxnHeader header, Record txn)`
`DataTree.ProcessTxnResult`
DataTree.`processTxn(TxnHeader header, Record txn, boolean isSubTxn)`
`DataTree.ProcessTxnResult`
DataTree.`processTxn(TxnHeader header, Record txn, TxnDigest digest)`
`DataTree.ProcessTxnResult`
ZKDatabase.`processTxn(TxnHeader hdr, Record txn, TxnDigest digest)`
the process txn on the data and perform digest comparision.
`static void`
ByteBufferOutputStream.`record2ByteBuffer(Record record, ByteBuffer bb)`
`int`
DumbWatcher.`sendResponse(ReplyHeader h, Record r, String tag, String cacheKey, Stat stat, int opCode)`
`int`
NettyServerCnxn.`sendResponse(ReplyHeader h, Record r, String tag, String cacheKey, Stat stat, int opCode)`
`int`
NIOServerCnxn.`sendResponse(ReplyHeader h, Record r, String tag, String cacheKey, Stat stat, int opCode)`
`int`
ServerCnxn.`sendResponse(ReplyHeader h, Record r, String tag)`
`abstract int`
ServerCnxn.`sendResponse(ReplyHeader h, Record r, String tag, String cacheKey, Stat stat, int opCode)`
Serializes a ZooKeeper response and enqueues it for sending.
`protected ByteBuffer[]`
ServerCnxn.`serialize(ReplyHeader h, Record r, String tag, String cacheKey, Stat stat, int opCode)`
`protected byte[]`
ServerCnxn.`serializeRecord(Record record)`
`void`
Request.`setTxn(Record txn)`
Constructors in org.apache.zookeeper.server with parameters of type Record
Modifier
Constructor
Description
``
`Request(long sessionId, int xid, int type, TxnHeader hdr, Record txn, long zxid)`
``
`Request(TxnHeader hdr, Record txn, TxnDigest digest)`
``
`SimpleRequestRecord(Record record)`
``
`TxnLogEntry(Record txn, TxnHeader header, TxnDigest digest)`

## Uses of Record in org.apache.zookeeper.server.controller

Methods in org.apache.zookeeper.server.controller with parameters of type Record
Modifier and Type
Method
Description
`int`
ControllableConnection.`sendResponse(ReplyHeader header, Record record, String tag)`

## Uses of Record in org.apache.zookeeper.server.persistence

Classes in org.apache.zookeeper.server.persistence that implement Record
Modifier and Type
Class
Description
`class`
`FileHeader`
Methods in org.apache.zookeeper.server.persistence that return Record
Modifier and Type
Method
Description
`Record`
FileTxnLog.FileTxnIterator.`getTxn()`
return the current transaction
`Record`
TxnLog.TxnIterator.`getTxn()`
return the transaction record.
Methods in org.apache.zookeeper.server.persistence with parameters of type Record
Modifier and Type
Method
Description
`static 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 Record in org.apache.zookeeper.server.quorum

Classes in org.apache.zookeeper.server.quorum that implement Record
Modifier and Type
Class
Description
`class`
`LearnerInfo`
`class`
`QuorumAuthPacket`
`class`
`QuorumPacket`

## Uses of Record in org.apache.zookeeper.txn

Classes in org.apache.zookeeper.txn that implement Record
Modifier and Type
Class
Description
`class`
`CheckVersionTxn`
`class`
`CloseSessionTxn`
`class`
`CreateContainerTxn`
`class`
`CreateSessionTxn`
`class`
`CreateTTLTxn`
`class`
`CreateTxn`
`class`
`CreateTxnV0`
`class`
`DeleteTxn`
`class`
`ErrorTxn`
`class`
`MultiTxn`
`class`
`SetACLTxn`
`class`
`SetDataTxn`
`class`
`SetMaxChildrenTxn`
`class`
`Txn`
`class`
`TxnDigest`
`class`
`TxnHeader`