org.qi4j.library.scheduler.slaves
Class SchedulerGarbageCollector
java.lang.Object
org.qi4j.library.scheduler.slaves.SchedulerGarbageCollector
- All Implemented Interfaces:
- Runnable
public class SchedulerGarbageCollector
- extends Object
Continuously prune non-used and non-durable ScheduleEntity
s.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
protected static final org.slf4j.Logger LOGGER
rhythm
protected final Long rhythm
commitSuicide
protected Boolean commitSuicide
SchedulerGarbageCollector
public SchedulerGarbageCollector(@Uses
Long rhythm)
run
public void run()
- Specified by:
run
in interface Runnable
suicideAfterCurrentCycle
public final void suicideAfterCurrentCycle()
onRun
protected void onRun()