Interface ReactiveRedisConnectionFactory

All Superinterfaces:
PersistenceExceptionTranslator
All Known Implementing Classes:
LettuceConnectionFactory

public interface ReactiveRedisConnectionFactory extends PersistenceExceptionTranslator
Thread-safe factory of reactive Redis connections.
Since:
2.0
Author:
Mark Paluch
See Also:
  • 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.