HazelcastIndexedSessionRepository
@Deprecated public class HazelcastSessionRepository extends HazelcastIndexedSessionRepository
SessionRepository
implementation is kept in order to support migration to
HazelcastIndexedSessionRepository
in a backwards compatible manner.DEFAULT_SESSION_MAP_NAME, PRINCIPAL_NAME_ATTRIBUTE
PRINCIPAL_NAME_INDEX_NAME
Constructor and Description |
---|
HazelcastSessionRepository(com.hazelcast.core.HazelcastInstance hazelcastInstance)
Deprecated.
Create a new
HazelcastSessionRepository instance. |
Modifier and Type | Method and Description |
---|---|
void |
setHazelcastFlushMode(HazelcastFlushMode hazelcastFlushMode)
Deprecated.
since 2.2.0 in favor of
HazelcastIndexedSessionRepository.setFlushMode(FlushMode) |
close, createSession, deleteById, entryAdded, entryEvicted, entryRemoved, findById, findByIndexNameAndIndexValue, init, save, setApplicationEventPublisher, setDefaultMaxInactiveInterval, setFlushMode, setIndexResolver, setSaveMode, setSessionMapName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findByPrincipalName
public HazelcastSessionRepository(com.hazelcast.core.HazelcastInstance hazelcastInstance)
HazelcastSessionRepository
instance.hazelcastInstance
- the HazelcastInstance
to use for managing sessionsHazelcastIndexedSessionRepository(HazelcastInstance)
@Deprecated public void setHazelcastFlushMode(HazelcastFlushMode hazelcastFlushMode)
HazelcastIndexedSessionRepository.setFlushMode(FlushMode)
HazelcastFlushMode.ON_SAVE
.hazelcastFlushMode
- the new Hazelcast flush mode