Package org.apache.zookeeper.server
Interface RequestRecord
- All Known Implementing Classes:
ByteBufferRequestRecord,SimpleRequestRecord
public interface RequestRecord
-
Method Summary
Modifier and TypeMethodDescriptionstatic RequestRecordfromBytes(byte[] bytes) static RequestRecordfromBytes(ByteBuffer buffer) static RequestRecordfromRecord(Record record) intlimit()byte[]<T extends Record>
TreadRecord(Supplier<T> clazz)
-
Method Details
-
fromBytes
-
fromBytes
-
fromRecord
-
readRecord
- Throws:
IOException
-
readBytes
byte[] readBytes() -
limit
int limit()
-