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

public final Class TimedClass

extends Object
Class Inheritance
Imports
java.util.concurrent.ConcurrentHashMap, java.util.Collection, jdk.jfr.events.MethodTimingEvent

Holds timed method for a class. Used when publishing method ids.

Field Summary

Modifier and TypeField and Description
private final ConcurrentHashMap<Long, TimedMethod>
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public TimedMethod
add(Method method)

public void
emit(long timestamp)

pack-priv Collection<TimedMethod>
public void
public void
remove(Method method)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

methodsback to summary
private final ConcurrentHashMap<Long, TimedMethod> methods
MISSINGback to summary
private static final long MISSING

Constructor Detail

TimedClassback to summary
public TimedClass()

Method Detail

addback to summary
public TimedMethod add(Method method)
emitback to summary
public void emit(long timestamp)
methodsback to summary
pack-priv Collection<TimedMethod> methods()
publishback to summary
public void publish()
removeback to summary
public void remove(Method method)