Package org.apache.zookeeper.server
Class ByteBufferRequestRecord
- java.lang.Object
 - 
- org.apache.zookeeper.server.ByteBufferRequestRecord
 
 
- 
- All Implemented Interfaces:
 RequestRecord
public class ByteBufferRequestRecord extends Object implements RequestRecord
 
- 
- 
Constructor Summary
Constructors Constructor Description ByteBufferRequestRecord(ByteBuffer request) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intlimit()byte[]readBytes()<T extends Record>
TreadRecord(Supplier<T> constructor) 
 - 
 
- 
- 
Constructor Detail
- 
ByteBufferRequestRecord
public ByteBufferRequestRecord(ByteBuffer request)
 
 - 
 
- 
Method Detail
- 
readRecord
public <T extends Record> T readRecord(Supplier<T> constructor) throws IOException
- Specified by:
 readRecordin interfaceRequestRecord- Throws:
 IOException
 
- 
readBytes
public byte[] readBytes()
- Specified by:
 readBytesin interfaceRequestRecord
 
- 
limit
public int limit()
- Specified by:
 limitin interfaceRequestRecord
 
 - 
 
 -