Top Description Fields Constructors Methods
jdk.jfr.internal.periodic

pack-priv final Class FlushTask

extends PeriodicTask
Class Inheritance
Imports
jdk.jfr.internal.JVM, .MetadataRepository, jdk.jfr.internal.util.Utils

Periodic task that flushes event data to disk.

The task is run once every second and after all other periodic events.

A flush interval of Long.MAX_VALUE means the event is disabled.

Field Summary

Modifier and TypeField and Description
private volatile long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
execute(long timestamp, PeriodicType periodicType)

Implements abstract jdk.jfr.internal.periodic.PeriodicTask.execute.

protected long
public boolean
public void
setInterval(long millis)

Inherited from jdk.jfr.internal.periodic.PeriodicTask:
getBatchgetLookupKeygetNamegetPeriodrunsetBatchshouldRuntickupdatePeriod

Field Detail

flushIntervalback to summary
private volatile long flushInterval

Constructor Detail

FlushTaskback to summary
public FlushTask()

Method Detail

executeback to summary
public void execute(long timestamp, PeriodicType periodicType)

Implements abstract jdk.jfr.internal.periodic.PeriodicTask.execute.

Annotations
@Override
fetchPeriodback to summary
protected long fetchPeriod()

Implements abstract jdk.jfr.internal.periodic.PeriodicTask.fetchPeriod.

Annotations
@Override
isSchedulableback to summary
public boolean isSchedulable()

Implements abstract jdk.jfr.internal.periodic.PeriodicTask.isSchedulable.

Annotations
@Override
setIntervalback to summary
public void setInterval(long millis)