Class ExecutorServiceSessionValidationScheduler

    • Constructor Detail

      • ExecutorServiceSessionValidationScheduler

        public ExecutorServiceSessionValidationScheduler()
      • ExecutorServiceSessionValidationScheduler

        public ExecutorServiceSessionValidationScheduler(ValidatingSessionManager sessionManager)
    • Method Detail

      • getInterval

        public long getInterval()
      • setInterval

        public void setInterval(long interval)
      • isEnabled

        public boolean isEnabled()
        Description copied from interface: SessionValidationScheduler
        Returns true if this Scheduler is enabled and ready to begin validation at the appropriate time, false otherwise.

        It does not indicate if the validation is actually executing at that instant - only that it is prepared to do so at the appropriate time.
        Specified by:
        isEnabled in interface SessionValidationScheduler
        Returns:
        true if this Scheduler is enabled and ready to begin validation at the appropriate time, false otherwise.
      • setThreadNamePrefix

        public void setThreadNamePrefix(String threadNamePrefix)
      • getThreadNamePrefix

        public String getThreadNamePrefix()
      • run

        public void run()
        Specified by:
        run in interface Runnable