Class LoaderContext
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.internal.parser.LoaderContext
-
public class LoaderContext extends Object
The heart of the loading process. Manages a pool of reusable byte buffers to load chunks in. Collects all loaded chunks and combines them to a FlightRecording.
-
-
Constructor Summary
Constructors Constructor Description LoaderContext(List<? extends IParserExtension> extensions, boolean hideExperimentals)
-
Method Summary
-
-
-
Constructor Detail
-
LoaderContext
public LoaderContext(List<? extends IParserExtension> extensions, boolean hideExperimentals)
-
-
Method Detail
-
getConstantPool
public CanonicalConstantMap<Object> getConstantPool(Object poolKey)
-
hideExperimentals
public boolean hideExperimentals()
-
constantReferenced
public Object constantReferenced(Object constant, String poolName, String eventTypeId)
-
constantResolved
public Object constantResolved(Object constant, String poolName, String eventTypeId)
-
allConstantPoolsResolved
public void allConstantPoolsResolved(Map<String,FastAccessNumberMap<Object>> constantPools)
-
getSinkFactory
public IEventSinkFactory getSinkFactory()
-
buildEventArrays
public org.openjdk.jmc.flightrecorder.internal.EventArrays buildEventArrays() throws CouldNotLoadRecordingException
- Throws:
CouldNotLoadRecordingException
-
incChunkCount
public void incChunkCount()
-
updateEventStats
public void updateEventStats(String eventTypeName, long size)
-
addTypeConstantPool
public void addTypeConstantPool(long id, String name, FastAccessNumberMap<Object> constantPool)
-
getParserStats
public ParserStats getParserStats()
-
setVersion
public void setVersion(short majorVersion, short minorVersion)
-
setSkippedEventCount
public void setSkippedEventCount(long skippedEventCount)
-
addEntryPoolSize
public void addEntryPoolSize(String typeIdentifier, long size)
-
addConstantPoolExtensions
public void addConstantPoolExtensions()
-
-