Class ValueReaders.PoolReader
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.internal.parser.v1.ValueReaders.PoolReader
-
- All Implemented Interfaces:
ValueReaders.IValueReader
- Enclosing class:
- ValueReaders
static class ValueReaders.PoolReader extends java.lang.Object implements ValueReaders.IValueReader
-
-
Field Summary
Fields Modifier and Type Field Description private FastAccessNumberMap<java.lang.Object>
constantPool
private ContentType<?>
contentType
-
Constructor Summary
Constructors Constructor Description PoolReader(FastAccessNumberMap<java.lang.Object> pool, ContentType<?> contentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentType<?>
getContentType()
java.lang.Object
read(IDataInput in, boolean allowUnresolvedReference)
java.lang.Object
resolve(java.lang.Object value)
void
skip(IDataInput in)
-
-
-
Field Detail
-
constantPool
private final FastAccessNumberMap<java.lang.Object> constantPool
-
contentType
private final ContentType<?> contentType
-
-
Constructor Detail
-
PoolReader
PoolReader(FastAccessNumberMap<java.lang.Object> pool, ContentType<?> contentType)
-
-
Method Detail
-
read
public java.lang.Object read(IDataInput in, boolean allowUnresolvedReference) throws java.io.IOException, InvalidJfrFileException
- Specified by:
read
in interfaceValueReaders.IValueReader
- Throws:
java.io.IOException
InvalidJfrFileException
-
skip
public void skip(IDataInput in) throws java.io.IOException, InvalidJfrFileException
- Specified by:
skip
in interfaceValueReaders.IValueReader
- Throws:
java.io.IOException
InvalidJfrFileException
-
resolve
public java.lang.Object resolve(java.lang.Object value) throws InvalidJfrFileException
- Specified by:
resolve
in interfaceValueReaders.IValueReader
- Throws:
InvalidJfrFileException
-
getContentType
public ContentType<?> getContentType()
- Specified by:
getContentType
in interfaceValueReaders.IValueReader
-
-