package connection
- Alphabetic
- Public
- Protected
Type Members
- final case class InvalidRedisURI(uri: String, throwable: Throwable) extends Throwable with NoStackTrace with Product with Serializable
- case class OperationNotSupported(value: String) extends Throwable with NoStackTrace with Product with Serializable
- sealed abstract case class RedisClient extends Product with Serializable
- sealed abstract case class RedisClusterClient extends Product with Serializable
- sealed trait RedisCredentials extends AnyRef
- sealed trait RedisEndpoint extends AnyRef
The Redis connection endpoint (mutually-exclusive modes).
- sealed abstract case class RedisMasterReplica[K, V] extends Product with Serializable
It encapsulates an underlying
MasterReplicaconnection - sealed abstract class RedisURI extends AnyRef
- final case class RedisUriConfig(endpoint: RedisEndpoint, credentials: Option[RedisCredentials] = None, tls: Option[TlsConfig] = None, database: Option[Int] = None, timeout: Option[FiniteDuration] = None, clientName: Option[String] = None, libraryName: Option[String] = None, libraryVersion: Option[String] = None) extends Product with Serializable
Type-safe configuration for constructing a RedisURI with parity to Lettuce's
RedisURI.Type-safe configuration for constructing a RedisURI with parity to Lettuce's
RedisURI.Cross-cutting options (
tls,database,timeout, etc.) are applied as given and are not validated against the chosenendpoint. For example, combiningRedisEndpoint.Socketwithtlsproduces a URI carrying SSL flags even though TLS over a unix socket is unusual; this mirrors Lettuce, which performs no such validation either. - final case class SentinelNode(host: String, port: Int = 26379, password: Option[CharSequence] = None) extends Product with Serializable
A single Redis Sentinel node.
- sealed trait SslVerifyMode extends AnyRef
SSL peer verification mode.
SSL peer verification mode. Mirrors
io.lettuce.core.SslVerifyMode. - final case class TlsConfig(startTls: Boolean = false, verifyPeer: SslVerifyMode = SslVerifyMode.Full) extends Product with Serializable
TLS settings, present only when TLS is enabled.
Value Members
- object RedisClient extends Serializable
- object RedisClusterClient extends Serializable
- object RedisCredentials
- object RedisEndpoint
- object RedisMasterReplica extends Serializable
- object RedisURI
- object RedisUriConfig extends Serializable
- object SslVerifyMode
This is the API documentation for the Redis4Cats library.