Package io.netty.util.concurrent
Class AutoScalingEventExecutorChooserFactory.AutoScalingEventExecutorChooser.UtilizationMonitor
- java.lang.Object
-
- io.netty.util.concurrent.AutoScalingEventExecutorChooserFactory.AutoScalingEventExecutorChooser.UtilizationMonitor
-
- All Implemented Interfaces:
java.lang.Runnable
private final class AutoScalingEventExecutorChooserFactory.AutoScalingEventExecutorChooser.UtilizationMonitor extends java.lang.Object implements java.lang.Runnable
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<SingleThreadEventExecutor>consistentlyIdleChildrenprivate longlastCheckTimeNanos
-
Constructor Summary
Constructors Modifier Constructor Description privateUtilizationMonitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidrebuildActiveExecutors()Atomically updates the state by creating a new snapshot with the current set of active executors.voidrun()
-
-
-
Field Detail
-
consistentlyIdleChildren
private final java.util.List<SingleThreadEventExecutor> consistentlyIdleChildren
-
lastCheckTimeNanos
private long lastCheckTimeNanos
-
-