Class GlobalPump
java.lang.Object
com.ultikits.ultitools.ui.runtime.GlobalPump
- All Implemented Interfaces:
AutoCloseable
A single repeating global task; retirement callbacks only enqueue, never submit scheduler tasks.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGlobalPump(Scheduler scheduler, Logger logger) Starts the pump on the framework-owned scheduler. -
Method Summary
-
Field Details
-
tasks
-
handle
-
logger
-
-
Constructor Details
-
GlobalPump
-
-
Method Details
-
execute
Enqueues work for the next global drain without touching the scheduler. -
drain
private void drain() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-