Interface ReactiveRedisConnectionFactory
- All Superinterfaces:
PersistenceExceptionTranslator
- All Known Implementing Classes:
LettuceConnectionFactory
Thread-safe factory of reactive Redis connections.
- Since:
- 2.0
- Author:
- Mark Paluch
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from interface org.springframework.dao.support.PersistenceExceptionTranslator
translateExceptionIfPossible
-
Method Details
-
getReactiveConnection
ReactiveRedisConnection getReactiveConnection()- Returns:
- a reactive Redis connection.
- Throws:
IllegalStateException
- if the connection factory requires initialization and the factory was not yet initialized.
-
getReactiveClusterConnection
ReactiveRedisClusterConnection getReactiveClusterConnection()- Returns:
- a reactive Redis Cluster connection.
- Throws:
IllegalStateException
- if the connection factory requires initialization and the factory was not yet initialized.
-