Interface SessionValidationScheduler

All Known Implementing Classes:
ExecutorServiceSessionValidationScheduler

Interface that should be implemented by classes that can control validating sessions on a regular basis. This interface is used as a delegate for session validation by the DefaultSessionManager
Since:
0.1
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Disables the session validation job.
    void
    Enables the session validation job.
    boolean
    Returns true if this Scheduler is enabled and ready to begin validation at the appropriate time, false otherwise.
  • Method Details

    • isEnabled

      boolean isEnabled()
      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.

      Returns:
      true if this Scheduler is enabled and ready to begin validation at the appropriate time, false otherwise.
    • enableSessionValidation

      Enables the session validation job.
    • disableSessionValidation

      Disables the session validation job.