Class ReactiveRedisOperationsSessionRepository
java.lang.Object
org.springframework.session.data.redis.ReactiveRedisSessionRepository
org.springframework.session.data.redis.ReactiveRedisOperationsSessionRepository
- All Implemented Interfaces:
ReactiveSessionRepository<org.springframework.session.data.redis.ReactiveRedisSessionRepository.RedisSession>
@Deprecated
public class ReactiveRedisOperationsSessionRepository
extends ReactiveRedisSessionRepository
Deprecated.
This
ReactiveSessionRepository
implementation is kept in order to support
migration to ReactiveRedisSessionRepository
in a backwards compatible manner.- Since:
- 2.0.0
-
Field Summary
Fields inherited from class org.springframework.session.data.redis.ReactiveRedisSessionRepository
DEFAULT_NAMESPACE
-
Constructor Summary
ConstructorDescriptionReactiveRedisOperationsSessionRepository
(org.springframework.data.redis.core.ReactiveRedisOperations<String, Object> sessionRedisOperations) Deprecated.Create a newReactiveRedisOperationsSessionRepository
instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRedisFlushMode
(RedisFlushMode redisFlushMode) Deprecated.since 2.2.0 as supportIMMEDIATE
is removedMethods inherited from class org.springframework.session.data.redis.ReactiveRedisSessionRepository
createSession, deleteById, findById, getSessionRedisOperations, save, setDefaultMaxInactiveInterval, setRedisKeyNamespace, setSaveMode
-
Constructor Details
-
ReactiveRedisOperationsSessionRepository
public ReactiveRedisOperationsSessionRepository(org.springframework.data.redis.core.ReactiveRedisOperations<String, Object> sessionRedisOperations) Deprecated.Create a newReactiveRedisOperationsSessionRepository
instance.- Parameters:
sessionRedisOperations
- theReactiveRedisOperations
to use for managing sessions- See Also:
-
-
Method Details
-
setRedisFlushMode
Deprecated.since 2.2.0 as supportIMMEDIATE
is removedSets the redis flush mode. Default flush mode isRedisFlushMode.ON_SAVE
.- Parameters:
redisFlushMode
- the new redis flush mode
-
ReactiveRedisSessionRepository