Package io.grpc.internal
Class ManagedChannelImpl.ExecutorHolder
java.lang.Object
io.grpc.internal.ManagedChannelImpl.ExecutorHolder
- All Implemented Interfaces:
Executor
- Enclosing class:
ManagedChannelImpl
Lazily request for Executor from an executor pool.
Also act as an Executor directly to simply run a cmd
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
pool
-
executor
-
-
Constructor Details
-
ExecutorHolder
ExecutorHolder(ObjectPool<? extends Executor> executorPool)
-
-
Method Details