Class RunnableWrapper
- java.lang.Object
-
- io.opentelemetry.javaagent.instrumentation.api.concurrent.RunnableWrapper
-
- All Implemented Interfaces:
java.lang.Runnable
public final class RunnableWrapper extends java.lang.Object implements java.lang.RunnableThis is used to wrap lambda runnables 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 RunnableWrapper(java.lang.Runnable runnable)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()static java.lang.RunnablewrapIfNeeded(java.lang.Runnable task)
-