Class ReactiveRedisIndexedSessionRepository.RedisSession
java.lang.Object
org.springframework.session.data.redis.ReactiveRedisIndexedSessionRepository.RedisSession
- All Implemented Interfaces:
org.springframework.session.Session
- Enclosing class:
- ReactiveRedisIndexedSessionRepository
public final class ReactiveRedisIndexedSessionRepository.RedisSession
extends Object
implements org.springframework.session.Session
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TgetAttribute(String attributeName) getId()booleanvoidremoveAttribute(String attributeName) voidsetAttribute(String attributeName, Object attributeValue) voidsetLastAccessedTime(Instant lastAccessedTime) voidsetMaxInactiveInterval(Duration interval) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.session.Session
getAttributeOrDefault, getRequiredAttribute
-
Constructor Details
-
RedisSession
public RedisSession(org.springframework.session.MapSession cached, boolean isNew)
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceorg.springframework.session.Session
-
changeSessionId
- Specified by:
changeSessionIdin interfaceorg.springframework.session.Session
-
getAttribute
- Specified by:
getAttributein interfaceorg.springframework.session.Session
-
getAttributeNames
- Specified by:
getAttributeNamesin interfaceorg.springframework.session.Session
-
setAttribute
- Specified by:
setAttributein interfaceorg.springframework.session.Session
-
removeAttribute
- Specified by:
removeAttributein interfaceorg.springframework.session.Session
-
getCreationTime
- Specified by:
getCreationTimein interfaceorg.springframework.session.Session
-
setLastAccessedTime
- Specified by:
setLastAccessedTimein interfaceorg.springframework.session.Session
-
getLastAccessedTime
- Specified by:
getLastAccessedTimein interfaceorg.springframework.session.Session
-
setMaxInactiveInterval
- Specified by:
setMaxInactiveIntervalin interfaceorg.springframework.session.Session
-
getMaxInactiveInterval
- Specified by:
getMaxInactiveIntervalin interfaceorg.springframework.session.Session
-
isExpired
public boolean isExpired()- Specified by:
isExpiredin interfaceorg.springframework.session.Session
-
getIndexes
-