Class CallableWrapper
- java.lang.Object
-
- io.opentelemetry.javaagent.instrumentation.api.concurrent.CallableWrapper
-
- All Implemented Interfaces:
java.util.concurrent.Callable
public final class CallableWrapper extends java.lang.Object implements java.util.concurrent.CallableThis is used to wrap lambda callables since currently we cannot instrument themFIXME: We should remove this once https://github.com/raphw/byte-buddy/issues/558 is fixed
-
-
Constructor Summary
Constructors Constructor Description CallableWrapper(java.util.concurrent.Callable callable)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectcall()static java.util.concurrent.Callable<?>wrapIfNeeded(java.util.concurrent.Callable<?> task)
-