Class AutoScalingEventExecutorChooserFactory.AutoScalingEventExecutorChooser.UtilizationMonitor
java.lang.Object
io.netty.util.concurrent.AutoScalingEventExecutorChooserFactory.AutoScalingEventExecutorChooser.UtilizationMonitor
- All Implemented Interfaces:
Runnable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidAtomically updates the state by creating a new snapshot with the current set of active executors.voidrun()
-
Field Details
-
consistentlyIdleChildren
-
lastCheckTimeNanos
private long lastCheckTimeNanos
-
-
Constructor Details
-
UtilizationMonitor
private UtilizationMonitor()
-
-
Method Details
-
run
-
rebuildActiveExecutors
private void rebuildActiveExecutors()Atomically updates the state by creating a new snapshot with the current set of active executors.
-