Class AbstractTimerRunnable<OutputType>

    • Constructor Detail

      • AbstractTimerRunnable

        protected AbstractTimerRunnable​(LoadingIndicator loadingIndicator,
                                        int threadId,
                                        int timerDelayInMilliseconds)
    • Method Detail

      • getExceptionLoggingMessage

        protected abstract String getExceptionLoggingMessage()
      • run

        public final void run()
        Specified by:
        run in interface Runnable
      • onFailed

        protected void onFailed​(Exception exception)
      • onSuccessfullyFinish

        protected void onSuccessfullyFinish​(OutputType result)
      • executeAsync

        public final void executeAsync()
      • onTimerWakeUp

        protected void onTimerWakeUp​(String messageToDisplay)
      • onDisplayLoadingIndicatorMessage

        protected final boolean onDisplayLoadingIndicatorMessage​(String messageToDisplay)
      • isRunning

        protected final boolean isRunning()