Interface Timer<I>

  • Type Parameters:
    I - the timer identifier type
    All Known Subinterfaces:
    ScheduledTimer<I>

    public interface Timer<I>
    Describes the properties of a timer, and its controlling mechanisms.
    Author:
    Paul Ferraro
    • Method Detail

      • getId

        I getId()
      • isActive

        boolean isActive()
      • isCanceled

        boolean isCanceled()
      • cancel

        void cancel()
      • activate

        void activate()
      • suspend

        void suspend()