Class OrderedExecutor.TimedCallable<T>
- java.lang.Object
-
- org.apache.bookkeeper.common.util.OrderedExecutor.TimedCallable<T>
-
- All Implemented Interfaces:
java.util.concurrent.Callable<T>
- Enclosing class:
- OrderedExecutor
protected class OrderedExecutor.TimedCallable<T> extends java.lang.Object implements java.util.concurrent.Callable<T>
Decorator class for a callable that measure the execution time.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.concurrent.Callable<T>
callable
(package private) java.lang.Class<?>
callableClass
(package private) long
initNanos
-
Constructor Summary
Constructors Constructor Description TimedCallable(java.util.concurrent.Callable<T> callable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
call()
-