-
schedulables
java.util.Set<E> schedulables
The schedulables object handled by the scheduler
-
state
Scheduler.State state
-
sleep
int sleep
The sleep time in ms between each cycle
-
stateLock
java.util.concurrent.locks.ReentrantLock stateLock
A lock to protect the state
-
onStop
java.util.function.Consumer<T> onStop
Method that is called when the scheduler stops
-
onChange
java.util.List<E> onChange
The methods called when the speed is changed. Useful to change the value of
the GUI slider of
SchedulerToolbar
-
locked
int locked
The idea is to prevent scheduler from launching if the schedulables are not
yet fully ready
-
pendingAdditionSchedulables
java.util.Queue<E> pendingAdditionSchedulables
The schedulables that must be added
-
pendingRemovalSchedulables
java.util.Queue<E> pendingRemovalSchedulables
The schedulables that must be removed