Class AbstractGemFireOperationsSessionRepository.DeltaCapableGemFireSession
java.lang.Object
org.springframework.session.data.gemfire.AbstractGemFireOperationsSessionRepository.GemFireSession<AbstractGemFireOperationsSessionRepository.DeltaCapableGemFireSessionAttributes>
org.springframework.session.data.gemfire.AbstractGemFireOperationsSessionRepository.DeltaCapableGemFireSession
- All Implemented Interfaces:
Comparable<org.springframework.session.Session>
,org.apache.geode.Delta
,org.springframework.session.Session
- Enclosing class:
- AbstractGemFireOperationsSessionRepository
public static class AbstractGemFireOperationsSessionRepository.DeltaCapableGemFireSession
extends AbstractGemFireOperationsSessionRepository.GemFireSession<AbstractGemFireOperationsSessionRepository.DeltaCapableGemFireSessionAttributes>
implements org.apache.geode.Delta
-
Field Summary
Fields inherited from class org.springframework.session.data.gemfire.AbstractGemFireOperationsSessionRepository.GemFireSession
GEMFIRE_SESSION_TO_STRING, SPRING_SECURITY_CONTEXT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
newSessionAttributes
(Object lock) Constructs a newAbstractGemFireOperationsSessionRepository.GemFireSessionAttributes
object to store and manage Session attributes.void
toDelta
(DataOutput out) Methods inherited from class org.springframework.session.data.gemfire.AbstractGemFireOperationsSessionRepository.GemFireSession
changeSessionId, commit, compareTo, configureWith, configureWith, copy, create, equals, from, getAttribute, getAttributeNames, getAttributes, getCreationTime, getId, getIsDirtyPredicate, getLastAccessedTime, getMaxInactiveInterval, getPrincipalName, hasDelta, hashCode, isExpired, removeAttribute, setAttribute, setIsDirtyPredicate, setLastAccessedTime, setMaxInactiveInterval, setPrincipalName, toString, triggerDelta, triggerDelta
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.geode.Delta
getForceRecalculateSize, hasDelta
Methods inherited from interface org.springframework.session.Session
getAttributeOrDefault, getRequiredAttribute
-
Constructor Details
-
DeltaCapableGemFireSession
public DeltaCapableGemFireSession() -
DeltaCapableGemFireSession
-
DeltaCapableGemFireSession
public DeltaCapableGemFireSession(org.springframework.session.Session session)
-
-
Method Details
-
newSessionAttributes
protected AbstractGemFireOperationsSessionRepository.DeltaCapableGemFireSessionAttributes newSessionAttributes(Object lock) Description copied from class:AbstractGemFireOperationsSessionRepository.GemFireSession
Constructs a newAbstractGemFireOperationsSessionRepository.GemFireSessionAttributes
object to store and manage Session attributes.- Overrides:
newSessionAttributes
in classAbstractGemFireOperationsSessionRepository.GemFireSession<AbstractGemFireOperationsSessionRepository.DeltaCapableGemFireSessionAttributes>
- Parameters:
lock
-Object
used as the mutex for concurrent access and Thread-safety.- Returns:
- the new
AbstractGemFireOperationsSessionRepository.GemFireSessionAttributes
. - See Also:
-
toDelta
- Specified by:
toDelta
in interfaceorg.apache.geode.Delta
- Throws:
IOException
-
fromDelta
- Specified by:
fromDelta
in interfaceorg.apache.geode.Delta
- Throws:
IOException
-