Class AbstractInfinispanSessionRepository.InfinispanSession
java.lang.Object
org.infinispan.spring.common.session.AbstractInfinispanSessionRepository.InfinispanSession
- All Implemented Interfaces:
- org.springframework.session.Session
- Enclosing class:
- AbstractInfinispanSessionRepository
public final class AbstractInfinispanSessionRepository.InfinispanSession
extends Object
implements org.springframework.session.Session
A custom implementation of 
Session that uses a MapSession as the basis for its
 mapping. It keeps track if changes have been made since last save.- 
Constructor SummaryConstructorsConstructorDescriptionInfinispanSession(org.springframework.session.MapSession cached, boolean isNew) 
- 
Method SummaryModifier 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.session.SessiongetAttributeOrDefault, getRequiredAttribute
- 
Constructor Details- 
InfinispanSessionpublic InfinispanSession(org.springframework.session.MapSession cached, boolean isNew) 
 
- 
- 
Method Details- 
setLastAccessedTime- Specified by:
- setLastAccessedTimein interface- org.springframework.session.Session
 
- 
isExpiredpublic boolean isExpired()- Specified by:
- isExpiredin interface- org.springframework.session.Session
 
- 
getCreationTime- Specified by:
- getCreationTimein interface- org.springframework.session.Session
 
- 
getId- Specified by:
- getIdin interface- org.springframework.session.Session
 
- 
changeSessionId- Specified by:
- changeSessionIdin interface- org.springframework.session.Session
 
- 
getLastAccessedTime- Specified by:
- getLastAccessedTimein interface- org.springframework.session.Session
 
- 
setMaxInactiveInterval- Specified by:
- setMaxInactiveIntervalin interface- org.springframework.session.Session
 
- 
getMaxInactiveInterval- Specified by:
- getMaxInactiveIntervalin interface- org.springframework.session.Session
 
- 
getAttribute- Specified by:
- getAttributein interface- org.springframework.session.Session
 
- 
getAttributeNames- Specified by:
- getAttributeNamesin interface- org.springframework.session.Session
 
- 
setAttribute- Specified by:
- setAttributein interface- org.springframework.session.Session
 
- 
removeAttribute- Specified by:
- removeAttributein interface- org.springframework.session.Session
 
 
-