Class MethodProfilingRule
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.rules.jdk.latency.MethodProfilingRule
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MethodProfilingRule.MethodProfilingWindowResult
-
Field Summary
Fields Modifier and Type Field Description static TypedPreference<String>
EXCLUDED_PACKAGE_REGEXP
static TypedCollectionResult<MethodProfilingRule.MethodProfilingWindowResult>
INTERESTING_METHODS
static ContentType<MethodProfilingRule.MethodProfilingWindowResult>
METHOD_PROFILING_WINDOW_RESULT
static TypedResult<IMCMethod>
MOST_INTERESTING_METHOD
static TypedResult<IMCStackTrace>
MOST_INTERESTING_STACKTRACE
static TypedResult<IRange<IQuantity>>
MOST_INTERESTING_WINDOW
static TypedResult<IQuantity>
RATIO_OF_ACTUAL_SAMPLES
static TypedResult<IQuantity>
RATIO_OF_ALL_POSSIBLE_SAMPLES
static TypedPreference<IQuantity>
WINDOW_SIZE
-
Constructor Summary
Constructors Constructor Description MethodProfilingRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RunnableFuture<IResult>
createEvaluation(IItemCollection items, IPreferenceValueProvider valueProvider, IResultValueProvider resultProvider)
Collection<TypedPreference<?>>
getConfigurationAttributes()
String
getId()
String
getName()
Map<String,RulesToolkit.EventAvailability>
getRequiredEvents()
Collection<TypedResult<?>>
getResults()
String
getTopic()
-
-
-
Field Detail
-
METHOD_PROFILING_WINDOW_RESULT
public static final ContentType<MethodProfilingRule.MethodProfilingWindowResult> METHOD_PROFILING_WINDOW_RESULT
-
MOST_INTERESTING_METHOD
public static final TypedResult<IMCMethod> MOST_INTERESTING_METHOD
-
MOST_INTERESTING_STACKTRACE
public static final TypedResult<IMCStackTrace> MOST_INTERESTING_STACKTRACE
-
RATIO_OF_ALL_POSSIBLE_SAMPLES
public static final TypedResult<IQuantity> RATIO_OF_ALL_POSSIBLE_SAMPLES
-
RATIO_OF_ACTUAL_SAMPLES
public static final TypedResult<IQuantity> RATIO_OF_ACTUAL_SAMPLES
-
MOST_INTERESTING_WINDOW
public static final TypedResult<IRange<IQuantity>> MOST_INTERESTING_WINDOW
-
INTERESTING_METHODS
public static final TypedCollectionResult<MethodProfilingRule.MethodProfilingWindowResult> INTERESTING_METHODS
-
WINDOW_SIZE
public static final TypedPreference<IQuantity> WINDOW_SIZE
-
EXCLUDED_PACKAGE_REGEXP
public static final TypedPreference<String> EXCLUDED_PACKAGE_REGEXP
-
-
Method Detail
-
createEvaluation
public RunnableFuture<IResult> createEvaluation(IItemCollection items, IPreferenceValueProvider valueProvider, IResultValueProvider resultProvider)
- Specified by:
createEvaluation
in interfaceIRule
-
getConfigurationAttributes
public Collection<TypedPreference<?>> getConfigurationAttributes()
- Specified by:
getConfigurationAttributes
in interfaceIRule
-
getRequiredEvents
public Map<String,RulesToolkit.EventAvailability> getRequiredEvents()
- Specified by:
getRequiredEvents
in interfaceIRule
-
getResults
public Collection<TypedResult<?>> getResults()
- Specified by:
getResults
in interfaceIRule
-
-