Interface Timer

    • Method Detail

      • add

        void add​(TimerTask timerTask)
        Add timer task.
        Parameters:
        timerTask - the timer task
      • advanceClock

        void advanceClock​(long timeoutMs)
                   throws java.lang.InterruptedException
        Advance clock boolean.
        Parameters:
        timeoutMs - the timeout ms
        Throws:
        java.lang.InterruptedException - the interrupted exception
      • size

        int size()
        Size int.
        Returns:
        the int
      • shutdown

        void shutdown()
        Shutdown.