public final class FlightRecordingLoader extends Object
| Constructor and Description |
|---|
FlightRecordingLoader() |
| Modifier and Type | Method and Description |
|---|---|
static IChunkSupplier |
createChunkSupplier(InputStream input) |
static IChunkSupplier |
createChunkSupplier(RandomAccessFile input) |
static IChunkSupplier |
createChunkSupplier(RandomAccessFile input,
Collection<ChunkInfo> chunks) |
static EventArray[] |
loadStream(InputStream stream,
boolean hideExperimentals,
boolean ignoreTruncatedChunk) |
static EventArray[] |
loadStream(InputStream stream,
List<? extends IParserExtension> extensions,
boolean hideExperimentals,
boolean ignoreTruncatedChunk)
Read events from an input stream of JFR data.
|
static List<ChunkInfo> |
readChunkInfo(IChunkSupplier chunkSupplier) |
static EventArray[] |
readChunks(Runnable monitor,
IChunkSupplier chunkSupplier,
boolean hideExperimentals,
boolean ignoreTruncatedChunk) |
static EventArray[] |
readChunks(Runnable monitor,
List<? extends IParserExtension> extensions,
IChunkSupplier chunkSupplier,
boolean hideExperimentals,
boolean ignoreTruncatedChunk) |
public static EventArray[] loadStream(InputStream stream, boolean hideExperimentals, boolean ignoreTruncatedChunk) throws CouldNotLoadRecordingException, IOException
public static EventArray[] loadStream(InputStream stream, List<? extends IParserExtension> extensions, boolean hideExperimentals, boolean ignoreTruncatedChunk) throws CouldNotLoadRecordingException, IOException
stream - input streamextensions - the extensions to use when parsing the datahideExperimentals - if true, then events of types marked as experimental will be ignored when
reading the dataCouldNotLoadRecordingExceptionIOExceptionpublic static IChunkSupplier createChunkSupplier(InputStream input) throws CouldNotLoadRecordingException, IOException
public static IChunkSupplier createChunkSupplier(RandomAccessFile input) throws CouldNotLoadRecordingException, IOException
public static IChunkSupplier createChunkSupplier(RandomAccessFile input, Collection<ChunkInfo> chunks) throws CouldNotLoadRecordingException, IOException
public static List<ChunkInfo> readChunkInfo(IChunkSupplier chunkSupplier) throws CouldNotLoadRecordingException, IOException
public static EventArray[] readChunks(Runnable monitor, IChunkSupplier chunkSupplier, boolean hideExperimentals, boolean ignoreTruncatedChunk) throws CouldNotLoadRecordingException, IOException
public static EventArray[] readChunks(Runnable monitor, List<? extends IParserExtension> extensions, IChunkSupplier chunkSupplier, boolean hideExperimentals, boolean ignoreTruncatedChunk) throws CouldNotLoadRecordingException, IOException
Copyright © 2020. All rights reserved.