V - the result type of method callpublic class CpuTimeCallableOperation<V> extends SimpleMonitorableOperation implements Callable<V>
Callable that maintains a CPU time counter for elapsed time evaluation
The CPU time is stored in nanoseconds.
counter| Constructor and Description |
|---|
CpuTimeCallableOperation(Callable<V> targetCallable)
Builds this monitorable operation with a given
Callable to be profiled using
CPU time. |
| Modifier and Type | Method and Description |
|---|---|
V |
call()
See
Callable.call(). |
elapsedTime, getCounterCopyright © 2019. All rights reserved.