public static interface FutureInstrumenter.Instrumenter
Modifier and Type | Method and Description |
---|---|
<V> java.util.concurrent.RunnableFuture<V> |
instrument(java.util.concurrent.RunnableFuture<V> future,
java.lang.String tag)
Hook that allows to instrument a
RunnableFuture . |
<V> java.util.concurrent.RunnableFuture<V> instrument(java.util.concurrent.RunnableFuture<V> future, java.lang.String tag)
RunnableFuture
.future
- that has to be instrumentedtag
- used to mark the task for debugging purposes.RunnableFuture
or returns the given input one.