Package com.illumon.iris.binarystore
Class BinaryStoreV2HeaderParser
java.lang.Object
com.illumon.iris.binarystore.BinaryStoreV2HeaderParser
Tool for parsing V2 (and higher) of the binary store header format. Usage is not thread safe.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal BinaryStoreV2HeaderInfo
readHeader
(ByteBuffer headerBuffer) Decode a binary store v2 header message and create aBinaryStoreV2HeaderInfo
representation.
-
Constructor Details
-
BinaryStoreV2HeaderParser
public BinaryStoreV2HeaderParser()
-
-
Method Details
-
readHeader
public final BinaryStoreV2HeaderInfo readHeader(@NotNull ByteBuffer headerBuffer) throws IOException Decode a binary store v2 header message and create aBinaryStoreV2HeaderInfo
representation.- Parameters:
headerBuffer
- The buffer to decode- Returns:
- A new
BinaryStoreV2HeaderInfo
representing the header buffer's contents - Throws:
IOException
-