Interface IValueReader
-
- All Known Implementing Classes:
ArrayReader,BooleanReader,CompositeReader,ConstantReader,QuantityReader,ReaderFactory.TypeIdentifierReader,StringReader,UTFStringParser
interface IValueReader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContentType<?>getValueType()java.lang.ObjectreadValue(byte[] bytes, Offset offset, long timestamp)Reads an objects from a byte array starting at a given offset.
-
-
-
Method Detail
-
readValue
java.lang.Object readValue(byte[] bytes, Offset offset, long timestamp) throws InvalidJfrFileExceptionReads an objects from a byte array starting at a given offset.- Parameters:
data- the data to read the object fromoffset- the offset to start read from. Will be moved to the end of the parsed datatimestamp- the timestamp of the object to read- Returns:
- the parsed object
- Throws:
InvalidJfrFileException
-
getValueType
ContentType<?> getValueType()
- Returns:
- the content type of the created objects
-
-