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