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 TypeMethodDescriptionint
limit()
byte[]
<T extends Record>
TreadRecord
(Supplier<T> constructor)
-
Constructor Details
-
ByteBufferRequestRecord
-
-
Method Details
-
readRecord
- Specified by:
readRecord
in interfaceRequestRecord
- Throws:
IOException
-
readBytes
public byte[] readBytes()- Specified by:
readBytes
in interfaceRequestRecord
-
limit
public int limit()- Specified by:
limit
in interfaceRequestRecord
-