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 BinaryStoreV2HeaderInforeadHeader(ByteBuffer headerBuffer) Decode a binary store v2 header message and create aBinaryStoreV2HeaderInforepresentation.
-
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 aBinaryStoreV2HeaderInforepresentation.- Parameters:
headerBuffer- The buffer to decode- Returns:
- A new
BinaryStoreV2HeaderInforepresenting the header buffer's contents - Throws:
IOException
-