Class AutoScalingEventExecutorChooserFactory.AutoScalingEventExecutorChooser.UtilizationMonitor

java.lang.Object
io.netty.util.concurrent.AutoScalingEventExecutorChooserFactory.AutoScalingEventExecutorChooser.UtilizationMonitor
All Implemented Interfaces:
Runnable
Enclosing class:
AutoScalingEventExecutorChooserFactory.AutoScalingEventExecutorChooser

private final class AutoScalingEventExecutorChooserFactory.AutoScalingEventExecutorChooser.UtilizationMonitor extends Object implements Runnable
  • Field Details

    • consistentlyIdleChildren

      private final List<SingleThreadEventExecutor> consistentlyIdleChildren
    • lastCheckTimeNanos

      private long lastCheckTimeNanos
  • Constructor Details

    • UtilizationMonitor

      private UtilizationMonitor()
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • rebuildActiveExecutors

      private void rebuildActiveExecutors()
      Atomically updates the state by creating a new snapshot with the current set of active executors.