public class ChunkLoaderV1 extends Object implements IChunkLoader
| Constructor and Description |
|---|
ChunkLoaderV1(org.openjdk.jmc.flightrecorder.internal.parser.v1.ChunkStructure header,
byte[] data,
LoaderContext context) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
call()
Perform the chunk loading.
|
static IChunkLoader |
create(Chunk input,
LoaderContext context) |
static ChunkInfo |
getInfo(Chunk input,
long position) |
long |
getTimestamp() |
public ChunkLoaderV1(org.openjdk.jmc.flightrecorder.internal.parser.v1.ChunkStructure header,
byte[] data,
LoaderContext context)
public byte[] call()
throws Exception
IChunkLoadercall in interface Callable<byte[]>call in interface IChunkLoaderExceptionpublic static IChunkLoader create(Chunk input, LoaderContext context) throws IOException, CouldNotLoadRecordingException
public static ChunkInfo getInfo(Chunk input, long position) throws IOException, CouldNotLoadRecordingException
public long getTimestamp()
getTimestamp in interface IChunkLoaderCopyright © 2020. All rights reserved.