Package org.apache.zookeeper.server
Class ByteBufferRequestRecord
java.lang.Object
org.apache.zookeeper.server.ByteBufferRequestRecord
- All Implemented Interfaces:
RequestRecord
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintlimit()byte[]<T extends Record>
TreadRecord(Supplier<T> constructor)
-
Constructor Details
-
ByteBufferRequestRecord
-
-
Method Details
-
readRecord
- Specified by:
readRecordin interfaceRequestRecord- Throws:
IOException
-
readBytes
public byte[] readBytes()- Specified by:
readBytesin interfaceRequestRecord
-
limit
public int limit()- Specified by:
limitin interfaceRequestRecord
-