- getAnnotation(Class<? extends Annotation>) - Method in class jdk.jfr.AnnotationElement
-
Returns the first annotation for the specified type if an
AnnotationElement with the same name exists, else null.
- getAnnotation(Class<A>) - Method in class jdk.jfr.EventType
-
Returns the first annotation for the specified type if an annotation
element with the same name is directly present, otherwise null.
- getAnnotation(Class<A>) - Method in class jdk.jfr.SettingDescriptor
-
Returns the first annotation for the specified type if an annotation
element with the same name is available, null otherwise.
- getAnnotation(Class<A>) - Method in class jdk.jfr.ValueDescriptor
-
Returns the first annotation for the specified type if an annotation
element with the same name is directly present for this value descriptor,
null otherwise.
- getAnnotationElements() - Method in class jdk.jfr.AnnotationElement
-
Returns an immutable list of annotation elements for this
AnnotationElement.
- getAnnotationElements() - Method in class jdk.jfr.EventType
-
Returns an immutable list of annotation elements for this event type.
- getAnnotationElements() - Method in class jdk.jfr.SettingDescriptor
-
Returns an immutable list of annotation elements for this value
descriptor.
- getAnnotationElements() - Method in class jdk.jfr.ValueDescriptor
-
Returns an immutable list of annotation elements for this value
descriptor.
- getCategoryNames() - Method in class jdk.jfr.EventType
-
Returns the list of human-readable names that makes up the categories for
this event type (for example, "Java Application", "Statistics").
- getConfiguration(String) - Static method in class jdk.jfr.Configuration
-
Returns a predefined configuration.
- getConfigurations() - Static method in class jdk.jfr.Configuration
-
Returns an immutable list of predefined configurations for this Java Virtual Machine (JVM).
- getContents() - Method in class jdk.jfr.Configuration
-
Returns a textual representation of the configuration (for example, the
contents of a JFC file).
- getContentType() - Method in class jdk.jfr.SettingDescriptor
-
Returns a textual identifier that specifies how a value that is represented by
this SettingDescriptor object is interpreted or formatted.
- getContentType() - Method in class jdk.jfr.ValueDescriptor
-
Returns a textual identifier that specifies how a value represented by
this
ValueDescriptor is interpreted or formatted.
- getDefaultValue() - Method in class jdk.jfr.SettingDescriptor
-
Returns the default value for this setting descriptor.
- getDescription() - Method in class jdk.jfr.Configuration
-
Returns a short sentence that describes the configuration (for example
"Low
overhead configuration safe for continuous use in production
environments")
- getDescription() - Method in class jdk.jfr.EventType
-
Returns a short sentence that describes the event class.
- getDescription() - Method in class jdk.jfr.SettingDescriptor
-
Returns a sentence that describes the setting (for example
"Record event with duration
above or equal to threshold").
- getDescription() - Method in class jdk.jfr.ValueDescriptor
-
Returns a sentence describing the value (for example, {@code "Maximum
throughput in the transaction system.
- getDestination() - Method in class jdk.jfr.Recording
-
Returns the destination file, where recording data is written when the
recording stops, or null if no destination is set.
- getDumpOnExit() - Method in class jdk.jfr.Recording
-
Returns whether this recording is dumped to disk when the JVM exits.
- getDuration() - Method in class jdk.jfr.Recording
-
Returns the specified duration for this recording, or null if no
duration is set.
- getEventType() - Method in class jdk.jfr.EventFactory
-
Returns the event type that is associated with this event factory.
- getEventType(Class<? extends Event>) - Static method in class jdk.jfr.EventType
-
Returns the event type for an event class, or null if it doesn't
exist.
- getEventTypes() - Method in class jdk.jfr.FlightRecorder
-
Returns an immutable list that contains all currently registered events.
- getField(String) - Method in class jdk.jfr.EventType
-
Returns the field with the specified name, or null if it doesn't
exist.
- getFields() - Method in class jdk.jfr.EventType
-
Returns an immutable list of descriptors that describe the event fields of
this event type.
- getFields() - Method in class jdk.jfr.ValueDescriptor
-
Returns an immutable list of value descriptors if the type is complex,
else an empty list.
- getFlightRecorder() - Static method in class jdk.jfr.FlightRecorder
-
Returns the Flight Recorder for the platform.
- getId() - Method in class jdk.jfr.EventType
-
Returns a unique ID for this event type in the Java Virtual Machine (JVM).
- getId() - Method in class jdk.jfr.Recording
-
Returns a unique ID for this recording.
- getLabel() - Method in class jdk.jfr.Configuration
-
Returns a human-readable name (for example, "Continuous" or "Profiling"}.
- getLabel() - Method in class jdk.jfr.EventType
-
Returns a human-readable name (for example, "CPU Load").
- getLabel() - Method in class jdk.jfr.SettingDescriptor
-
Returns a human-readable name that describes the setting (for example,
"Threshold").
- getLabel() - Method in class jdk.jfr.ValueDescriptor
-
Returns a human-readable name that describes the value (for example,
"Maximum Throughput").
- getMaxAge() - Method in class jdk.jfr.Recording
-
Returns the length of time that the data is kept in the disk repository
before it is removed.
- getMaxSize() - Method in class jdk.jfr.Recording
-
Returns the maximum size, measured in bytes, at which data is no longer kept in the disk repository.
- getName() - Method in class jdk.jfr.Configuration
-
Returns an identifying name (for example, "default" or "profile").
- getName() - Method in class jdk.jfr.EventType
-
Returns an identifier for the event (for example,
"jdk.CPULoad").
- getName() - Method in class jdk.jfr.Recording
-
Returns the name of this recording.
- getName() - Method in class jdk.jfr.SettingDescriptor
-
Returns the name of the setting (for example, "threshold").
- getName() - Method in class jdk.jfr.ValueDescriptor
-
Returns the name of the value (for example, "maxThroughput").
- getProvider() - Method in class jdk.jfr.Configuration
-
Returns who created the configuration (for example "OpenJDK").
- getRecordings() - Method in class jdk.jfr.FlightRecorder
-
Returns an immutable list of the available recordings.
- getSettingDescriptors() - Method in class jdk.jfr.EventType
-
Returns an immutable list of the setting descriptors that describe the available
event settings for this event type.
- getSettings() - Method in class jdk.jfr.Configuration
-
Returns the settings that specifies how a recording is configured.
- getSettings() - Method in class jdk.jfr.Recording
-
Returns settings used by this recording.
- getSize() - Method in class jdk.jfr.Recording
-
Returns the current size of this recording in the disk repository,
measured in bytes.
- getStartTime() - Method in class jdk.jfr.Recording
-
Returns the time when this recording was started.
- getState() - Method in class jdk.jfr.Recording
-
Returns the recording state that this recording is currently in.
- getStopTime() - Method in class jdk.jfr.Recording
-
Returns the time when this recording was stopped.
- getStream(Instant, Instant) - Method in class jdk.jfr.Recording
-
Creates a data stream for a specified interval.
- getTypeId() - Method in class jdk.jfr.AnnotationElement
-
Returns the type ID for this AnnotationElement.
- getTypeId() - Method in class jdk.jfr.SettingDescriptor
-
Returns a unique ID for the type in the Java Virtual Machine (JVM).
- getTypeId() - Method in class jdk.jfr.ValueDescriptor
-
Returns a unique ID for the type in the Java virtual Machine (JVM).
- getTypeName() - Method in class jdk.jfr.AnnotationElement
-
Returns the fully qualified name of the annotation type that corresponds to
this AnnotationElement (for example, "jdk.jfr.Label").
- getTypeName() - Method in class jdk.jfr.SettingDescriptor
-
Returns the fully qualified class name of the type that is associated with this
setting descriptor.
- getTypeName() - Method in class jdk.jfr.ValueDescriptor
-
Returns the fully qualified class name of the type that is associated with
this value descriptor.
- getValue(String) - Method in class jdk.jfr.AnnotationElement
-
Returns a value for this AnnotationElement.
- getValue() - Method in class jdk.jfr.internal.Control
-
- getValue() - Method in class jdk.jfr.SettingControl
-
Returns the currently used value for this setting, not null.
- getValueDescriptors() - Method in class jdk.jfr.AnnotationElement
-
Returns an immutable list of descriptors that describes the annotation values
for this AnnotationElement.
- getValues() - Method in class jdk.jfr.AnnotationElement
-
Returns an immutable list of annotation values in an order that matches the
value descriptors for this AnnotationElement.
- scheduleStart(Duration) - Method in class jdk.jfr.Recording
-
Starts this recording after a delay.
- SECONDS - Static variable in annotation type jdk.jfr.Timespan
-
Unit for seconds.
- set(int, Object) - Method in class jdk.jfr.Event
-
Sets a field value.
- setDestination(Path) - Method in class jdk.jfr.Recording
-
Sets a location where data is written on recording stop, or
null if data is not to be dumped.
- setDumpOnExit(boolean) - Method in class jdk.jfr.Recording
-
Sets whether this recording is dumped to disk when the JVM exits.
- setDuration(Duration) - Method in class jdk.jfr.Recording
-
Sets a duration for how long a recording runs before it stops.
- setMaxAge(Duration) - Method in class jdk.jfr.Recording
-
Determines how far back data is kept in the disk repository.
- setMaxSize(long) - Method in class jdk.jfr.Recording
-
Determines how much data is kept in the disk repository.
- setName(String) - Method in class jdk.jfr.Recording
-
Sets a human-readable name (for example, "My Recording").
- setSettings(Map<String, String>) - Method in class jdk.jfr.Recording
-
Replaces all settings for this recording.
- SettingControl - Class in jdk.jfr
-
Base class to extend to create setting controls.
- SettingControl() - Constructor for class jdk.jfr.SettingControl
-
Constructor for invocation by subclass constructors.
- SettingDefinition - Annotation Type in jdk.jfr
-
Annotation that specifies that a method in an event class should be used to
filter out events.
- SettingDescriptor - Class in jdk.jfr
-
Describes an event setting.
- setToDisk(boolean) - Method in class jdk.jfr.Recording
-
Determines whether this recording is continuously flushed to the disk
repository or data is constrained to what is available in memory buffers.
- setValue(String) - Method in class jdk.jfr.internal.Control
-
- setValue(String) - Method in class jdk.jfr.SettingControl
-
Sets the value for this setting.
- shouldCommit() - Method in class jdk.jfr.Event
-
Returns true if the enabled setting for this event is set to
true and if the duration is within the threshold for the event,
false otherwise.
- StackTrace - Annotation Type in jdk.jfr
-
Event annotation, determines whether an event by default has a stack trace
or not.
- start() - Method in class jdk.jfr.Recording
-
Starts this recording.
- stop() - Method in class jdk.jfr.Recording
-
Stops this recording.