Interface TimerService

    • Method Detail

      • isTerminated

        boolean isTerminated()
        Returns true if the service has been shut down, false otherwise.
      • shutdownServiceUninterruptible

        boolean shutdownServiceUninterruptible​(long timeoutMs)
        Shuts down and clean up the timer service provider hard and immediately. This does not wait for any timer to complete. Any further call to ProcessingTimeService.registerTimer(long, ProcessingTimeCallback) will result in a hard exception. This call cannot be interrupted and will block until the shutdown is completed or the timeout is exceeded.
        Parameters:
        timeoutMs - timeout for blocking on the service shutdown in milliseconds.
        Returns:
        returns true iff the shutdown was completed.