Spring Session for VMware GemFire
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidnewSessionAttributes(Object lock) Constructs a newAbstractGemFireOperationsSessionRepository.GemFireSessionAttributesobject to store and manage Session attributes.voidtoDelta(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, triggerDeltaMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.geode.Delta
getForceRecalculateSize, hasDeltaMethods 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.GemFireSessionConstructs a newAbstractGemFireOperationsSessionRepository.GemFireSessionAttributesobject to store and manage Session attributes.- Overrides:
newSessionAttributesin classAbstractGemFireOperationsSessionRepository.GemFireSession<AbstractGemFireOperationsSessionRepository.DeltaCapableGemFireSessionAttributes>- Parameters:
lock-Objectused as the mutex for concurrent access and Thread-safety.- Returns:
- the new
AbstractGemFireOperationsSessionRepository.GemFireSessionAttributes. - See Also:
-
toDelta
- Specified by:
toDeltain interfaceorg.apache.geode.Delta- Throws:
IOException
-
fromDelta
- Specified by:
fromDeltain interfaceorg.apache.geode.Delta- Throws:
IOException
-