Package io.grpc
Class Context.ExecutableListener
- java.lang.Object
-
- io.grpc.Context.ExecutableListener
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- Context
private static final class Context.ExecutableListener extends java.lang.Object implements java.lang.Runnable
Stores listener and executor pair.
-
-
Field Summary
Fields Modifier and Type Field Description private Context
context
private java.util.concurrent.Executor
executor
(package private) Context.CancellationListener
listener
-
Constructor Summary
Constructors Constructor Description ExecutableListener(java.util.concurrent.Executor executor, Context.CancellationListener listener, Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
deliver()
void
run()
-
-
-
Field Detail
-
executor
private final java.util.concurrent.Executor executor
-
listener
final Context.CancellationListener listener
-
context
private final Context context
-
-
Constructor Detail
-
ExecutableListener
ExecutableListener(java.util.concurrent.Executor executor, Context.CancellationListener listener, Context context)
-
-