Record Class SessionPolicyDecision.Active
java.lang.Object
java.lang.Record
com.svenruppert.jsentinel.session.SessionPolicyDecision.Active
- All Implemented Interfaces:
SessionPolicyDecision
- Enclosing interface:
SessionPolicyDecision
The session may continue.
-
Nested Class Summary
Nested classes/interfaces inherited from interface SessionPolicyDecision
SessionPolicyDecision.AbsoluteLifetimeExceeded, SessionPolicyDecision.Active, SessionPolicyDecision.IdleTimeoutModifier and TypeInterfaceDescriptionstatic final recordThe session is older than the configured absolute lifetime.static final recordThe session may continue.static final recordThe session was idle longer than the configured idle timeout. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SessionPolicyDecision.ActiveShared singleton — there is only one shape ofActive. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
Shared singleton — there is only one shape ofActive.
-
-
Constructor Details
-
Active
public Active()Creates an instance of aActiverecord class.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal.
-