Class ReliablePseudoClockScheduler

  • All Implemented Interfaces:
    java.io.Externalizable, java.io.Serializable, org.drools.core.time.InternalSchedulerService, org.drools.core.time.SchedulerService, org.drools.core.time.SessionPseudoClock, org.drools.core.time.TimerService, org.kie.api.time.SessionClock, org.kie.api.time.SessionPseudoClock

    public class ReliablePseudoClockScheduler
    extends org.drools.core.time.impl.PseudoClockScheduler
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.drools.core.time.impl.PseudoClockScheduler

        idCounter, queue, timer
    • Constructor Summary

      Constructors 
      Constructor Description
      ReliablePseudoClockScheduler​(org.infinispan.commons.api.BasicCache<java.lang.String,​java.lang.Object> cache)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long advanceTime​(long amount, java.util.concurrent.TimeUnit unit)  
      • Methods inherited from class org.drools.core.time.impl.PseudoClockScheduler

        getCurrentTime, getTimerJobFactoryManager, getTimerJobInstances, getTimeToNextJob, internalSchedule, readExternal, removeJob, reset, scheduleJob, setStartupTime, setTimerJobFactoryManager, shutdown, writeExternal
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReliablePseudoClockScheduler

        public ReliablePseudoClockScheduler​(org.infinispan.commons.api.BasicCache<java.lang.String,​java.lang.Object> cache)
    • Method Detail

      • advanceTime

        public long advanceTime​(long amount,
                                java.util.concurrent.TimeUnit unit)
        Specified by:
        advanceTime in interface org.kie.api.time.SessionPseudoClock
        Overrides:
        advanceTime in class org.drools.core.time.impl.PseudoClockScheduler