Class TickDelayService.Handle

  • Enclosing class:
    TickDelayService

    public static final class TickDelayService.Handle
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancel()  
      boolean isCancelled()  
      boolean isReady()
      True once the deadline tick has been reached, or after cancellation.
      int remaining()
      Number of ticks still needed, clamped to zero.
      • Methods inherited from class java.lang.Object

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

      • isReady

        public boolean isReady()
        True once the deadline tick has been reached, or after cancellation.
      • remaining

        public int remaining()
        Number of ticks still needed, clamped to zero.
      • isCancelled

        public boolean isCancelled()
      • cancel

        public void cancel()