Class TimerService

java.lang.Object
kilim.timerservice.TimerService

public class TimerService extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • shutdown

      public void shutdown()
    • submit

      public void submit(Timer t)
    • empty

      private boolean empty()
    • isEmptyLazy

      public boolean isEmptyLazy(TimerService.WatchdogContext executor)
      return true if empty at a particular moment during the call allowing false negatives if operations are ongoing
    • trigger

      public void trigger(TimerService.WatchdogContext doghouse)
    • doTrigger

      private long doTrigger(long currentTime)