Class MethodProfilingRule.MethodProfilingCallable
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.rules.jdk.latency.MethodProfilingRule.MethodProfilingCallable
-
- All Implemented Interfaces:
java.util.concurrent.Callable<Result>
- Enclosing class:
- MethodProfilingRule
private class MethodProfilingRule.MethodProfilingCallable extends java.lang.Object implements java.util.concurrent.Callable<Result>
Private Callable implementation specifically used to avoid storing the FutureTask as a field.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.FutureTask<Result>
evaluationTask
private IItemCollection
items
private IPreferenceValueProvider
valueProvider
-
Constructor Summary
Constructors Modifier Constructor Description private
MethodProfilingCallable(IItemCollection items, IPreferenceValueProvider valueProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Result
call()
(package private) void
setTask(java.util.concurrent.FutureTask<Result> task)
-
-
-
Field Detail
-
evaluationTask
private java.util.concurrent.FutureTask<Result> evaluationTask
-
items
private IItemCollection items
-
valueProvider
private IPreferenceValueProvider valueProvider
-
-
Constructor Detail
-
MethodProfilingCallable
private MethodProfilingCallable(IItemCollection items, IPreferenceValueProvider valueProvider)
-
-