APIdia Launch Partner
Top Description Fields Constructors Methods
jdk.jfr.internal.consumer.filter

public final Class CheckpointEvent

extends Object
Class Inheritance
Imports
java.util.Collection, .LinkedHashMap, jdk.jfr.internal.Type

Represents a checkpoint event.

All positional values are relative to file start, not the chunk.

Field Summary

Modifier and TypeField and Description
private final ChunkWriter
private final LinkedHashMap<Long, CheckpointPool>
private final long

Constructor Summary

AccessConstructor and Description
public
CheckpointEvent(ChunkWriter chunkWriter, long startPosition)

Method Summary

Modifier and TypeMethod and Description
public PoolEntry
addEntry(Type type, long id, long startPosition, long endPosition, Object references)

public Collection<CheckpointPool>
public long
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

public long
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

chunkWriterback to summary
private final ChunkWriter chunkWriter
poolsback to summary
private final LinkedHashMap<Long, CheckpointPool> pools
startPositionback to summary
private final long startPosition

Constructor Detail

CheckpointEventback to summary
public CheckpointEvent(ChunkWriter chunkWriter, long startPosition)

Method Detail

addEntryback to summary
public PoolEntry addEntry(Type type, long id, long startPosition, long endPosition, Object references)
getPoolsback to summary
public Collection<CheckpointPool> getPools()
getStartPositionback to summary
public long getStartPosition()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

touchedPoolsback to summary
public long touchedPools()