Top Fields Constructors Methods
jdk.jfr.internal.consumer

public final Class ParserFilter

extends Object
Class Inheritance
Imports
java.util.HashMap, .Map, .StringJoiner

Field Summary

Modifier and TypeField and Description
public static final ParserFilter
private final boolean
private final Map<String, Long>

Constructor Summary

AccessConstructor and Description
public
private
ParserFilter(boolean acceptAll, Map<String, Long> thresholds)

Method Summary

Modifier and TypeMethod and Description
public long
getThreshold(String eventName)

public void
setThreshold(String eventName, long nanos)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

ACCEPT_ALLback to summary
public static final ParserFilter ACCEPT_ALL
acceptAllback to summary
private final boolean acceptAll
thresholdsback to summary
private final Map<String, Long> thresholds

Constructor Detail

ParserFilterback to summary
public ParserFilter()
ParserFilterback to summary
private ParserFilter(boolean acceptAll, Map<String, Long> thresholds)

Method Detail

getThresholdback to summary
public long getThreshold(String eventName)
setThresholdback to summary
public void setThreshold(String eventName, long nanos)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override