Interface SessionValidationScheduler
- All Known Implementing Classes:
ExecutorServiceSessionValidationScheduler
public interface SessionValidationScheduler
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 TypeMethodDescriptionvoidDisables the session validation job.voidEnables the session validation job.booleanReturnstrueif this Scheduler is enabled and ready to begin validation at the appropriate time,falseotherwise.
-
Method Details
-
isEnabled
boolean isEnabled()Returnstrueif this Scheduler is enabled and ready to begin validation at the appropriate time,falseotherwise. 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:
trueif this Scheduler is enabled and ready to begin validation at the appropriate time,falseotherwise.
-
enableSessionValidation
void enableSessionValidation()Enables the session validation job. -
disableSessionValidation
void disableSessionValidation()Disables the session validation job.
-