Class ContextRunnable
java.lang.Object
io.grpc.internal.ContextRunnable
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
DelayedClientCall.CloseListenerRunnable
Utility base implementation of
Runnable that performs the same function as
Context.wrap(Runnable) without requiring the construction of an additional object.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
context
-
-
Constructor Details
-
ContextRunnable
-
-
Method Details
-
run
-
runInContext
public abstract void runInContext()
-