protected static class AbstractGemFireOperationsSessionRepository.SessionIdInterestRegisteringCacheListener
extends org.apache.geode.cache.util.CacheListenerAdapter<java.lang.Object,org.springframework.session.Session>
| Constructor and Description |
|---|
SessionIdInterestRegisteringCacheListener(AbstractGemFireOperationsSessionRepository sessionRepository)
Constructs a new instance of the
AbstractGemFireOperationsSessionRepository.SessionIdInterestRegisteringCacheListener initialized with
the AbstractGemFireOperationsSessionRepository. |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCreate(org.apache.geode.cache.EntryEvent<java.lang.Object,org.springframework.session.Session> event) |
void |
afterDestroy(org.apache.geode.cache.EntryEvent<java.lang.Object,org.springframework.session.Session> event) |
void |
afterInvalidate(org.apache.geode.cache.EntryEvent<java.lang.Object,org.springframework.session.Session> event) |
protected AbstractGemFireOperationsSessionRepository |
getSessionRepository()
Returns a reference to the configured
SessionRepository. |
afterRegionClear, afterRegionCreate, afterRegionDestroy, afterRegionInvalidate, afterRegionLive, afterUpdate, closepublic SessionIdInterestRegisteringCacheListener(AbstractGemFireOperationsSessionRepository sessionRepository)
AbstractGemFireOperationsSessionRepository.SessionIdInterestRegisteringCacheListener initialized with
the AbstractGemFireOperationsSessionRepository.sessionRepository - AbstractGemFireOperationsSessionRepository used by this listener
to register and unregister interests in Sessions.java.lang.IllegalArgumentException - if AbstractGemFireOperationsSessionRepository is null.AbstractGemFireOperationsSessionRepositoryprotected AbstractGemFireOperationsSessionRepository getSessionRepository()
SessionRepository.SessionRepository.AbstractGemFireOperationsSessionRepositorypublic void afterCreate(org.apache.geode.cache.EntryEvent<java.lang.Object,org.springframework.session.Session> event)
afterCreate in interface org.apache.geode.cache.CacheListener<java.lang.Object,org.springframework.session.Session>afterCreate in class org.apache.geode.cache.util.CacheListenerAdapter<java.lang.Object,org.springframework.session.Session>public void afterDestroy(org.apache.geode.cache.EntryEvent<java.lang.Object,org.springframework.session.Session> event)
afterDestroy in interface org.apache.geode.cache.CacheListener<java.lang.Object,org.springframework.session.Session>afterDestroy in class org.apache.geode.cache.util.CacheListenerAdapter<java.lang.Object,org.springframework.session.Session>public void afterInvalidate(org.apache.geode.cache.EntryEvent<java.lang.Object,org.springframework.session.Session> event)
afterInvalidate in interface org.apache.geode.cache.CacheListener<java.lang.Object,org.springframework.session.Session>afterInvalidate in class org.apache.geode.cache.util.CacheListenerAdapter<java.lang.Object,org.springframework.session.Session>