Class ManagedChannelImpl.ExecutorHolder

java.lang.Object
io.grpc.internal.ManagedChannelImpl.ExecutorHolder
All Implemented Interfaces:
Executor
Enclosing class:
ManagedChannelImpl

static final class ManagedChannelImpl.ExecutorHolder extends Object implements Executor
Lazily request for Executor from an executor pool. Also act as an Executor directly to simply run a cmd
  • Field Details

  • Constructor Details

  • Method Details

    • getExecutor

      Executor getExecutor()
    • release

      void release()
    • execute

      public void execute(Runnable command)
      Specified by:
      execute in interface Executor