Package io.grpc.internal
Class ContextRunnable
- java.lang.Object
-
- io.grpc.internal.ContextRunnable
-
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
DelayedClientCall.CloseListenerRunnable
abstract class ContextRunnable extends java.lang.Object implements java.lang.RunnableUtility base implementation ofRunnablethat performs the same function asContext.wrap(Runnable)without requiring the construction of an additional object.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedContextRunnable(Context context)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidrun()abstract voidrunInContext()
-