Class TickDelayService.Handle

  • All Implemented Interfaces:
    java.lang.AutoCloseable
    Enclosing class:
    TickDelayService

    public static final class TickDelayService.Handle
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Method Detail

      • isReady

        @Deprecated
        public boolean isReady()
        Deprecated.
        Legacy contract: true after expiry OR cancellation. Prefer isElapsed before an action.
      • isElapsed

        public boolean isElapsed()
      • isDone

        public boolean isDone()
      • remaining

        public int remaining()
      • isCancelled

        public boolean isCancelled()
      • cancel

        public void cancel()
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable