Uses of Record Class
com.svenruppert.jsentinel.session.SessionRecord
Packages that use SessionRecord
-
Uses of SessionRecord in com.svenruppert.jsentinel.session
Methods in com.svenruppert.jsentinel.session that return SessionRecordModifier and TypeMethodDescriptionSessionRecord.withLastActivityAt(Instant newLastActivity) Returns a copy withSessionRecord.lastActivityAt()updated tonewLastActivity.SessionRecord.withStatus(SessionStatus newStatus) Returns a copy withSessionRecord.status()updated tonewStatus.Methods in com.svenruppert.jsentinel.session that return types with arguments of type SessionRecordModifier and TypeMethodDescriptionInMemorySessionStore.findAll()default List<SessionRecord> SessionStore.findAll()Returns every record currently persisted, in insertion order.Looks up the record for a session id.InMemorySessionStore.findBySubject(TenantId tenant, SubjectId subjectId) SessionStore.findBySubject(TenantId tenant, SubjectId subjectId) Returns every record (in anySessionStatus) belonging tosubjectIdwithintenant, in insertion order (oldest first).Methods in com.svenruppert.jsentinel.session with parameters of type SessionRecordModifier and TypeMethodDescriptionJSentinelVersionCheck.check(SessionRecord session) Convenience wrapper aroundJSentinelVersionCheck.check(JSentinelVersionKey, JSentinelVersion)that pulls the snapshot straight from aSessionRecord.voidInMemorySessionStore.save(SessionRecord session) voidSessionStore.save(SessionRecord session) Persists or replaces the supplied session record.