public class ByteBufferRequestRecord extends Object implements RequestRecord
| Constructor and Description |
|---|
ByteBufferRequestRecord(ByteBuffer request) |
| Modifier and Type | Method and Description |
|---|---|
int |
limit() |
byte[] |
readBytes() |
<T extends Record> |
readRecord(Supplier<T> constructor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromBytes, fromBytes, fromRecordpublic ByteBufferRequestRecord(ByteBuffer request)
public <T extends Record> T readRecord(Supplier<T> constructor) throws IOException
readRecord in interface RequestRecordIOExceptionpublic byte[] readBytes()
readBytes in interface RequestRecordpublic int limit()
limit in interface RequestRecordCopyright © 2008–2026 The Apache Software Foundation. All rights reserved.