play.api.cache.redis.configuration

Members list

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait RedisCluster extends RedisInstance

Type of Redis Instance - a cluster. It encapsulates common settings of the instance and the list of cluster nodes.

Type of Redis Instance - a cluster. It encapsulates common settings of the instance and the list of cluster nodes.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object RedisCluster

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

A helper trait delegating properties into the inner settings object

A helper trait delegating properties into the inner settings object

Attributes

Supertypes
trait RedisHost
class Object
trait Matchable
class Any

A helper trait delegating properties into the inner settings object

A helper trait delegating properties into the inner settings object

Attributes

Supertypes
class Object
trait Matchable
class Any
trait RedisHost

Configures a single node either a standalone or within a cluster.

Configures a single node either a standalone or within a cluster.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object RedisHost extends ConfigLoader[RedisHost]

Attributes

Companion
trait
Supertypes
trait ConfigLoader[RedisHost]
class Object
trait Matchable
class Any
Self type
RedisHost.type
sealed trait RedisInstance extends RedisSettings

Abstraction over clusters and standalone instances. This trait encapsulates a common settings and simplifies pattern matching.

Abstraction over clusters and standalone instances. This trait encapsulates a common settings and simplifies pattern matching.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait RedisInstanceManager extends Iterable[RedisInstanceProvider]

Cache manager maintains a list of the redis caches in the application. It also provides a configuration of the instance based on the name of the cache.

Cache manager maintains a list of the redis caches in the application. It also provides a configuration of the instance based on the name of the cache.

This object should be used only during the configuration phase to simplify binding creation and application configuration. While the application is running, there should be no need to use this manager.

Attributes

Supertypes
trait Iterable[RedisInstanceProvider]
trait IterableFactoryDefaults[RedisInstanceProvider, Iterable]
trait IterableOps[RedisInstanceProvider, Iterable, Iterable[RedisInstanceProvider]]
trait IterableOnceOps[RedisInstanceProvider, Iterable, Iterable[RedisInstanceProvider]]
trait IterableOnce[RedisInstanceProvider]
class Object
trait Matchable
class Any
Show all
Known subtypes
class RedisInstanceManagerFallback(config: Config, path: String)(implicit defaults: RedisSettings) extends RedisInstanceManager

Redis manager reading 'play.cache.redis' root for a single fallback default cache.

Redis manager reading 'play.cache.redis' root for a single fallback default cache.

Attributes

Supertypes
trait Iterable[RedisInstanceProvider]
trait IterableFactoryDefaults[RedisInstanceProvider, Iterable]
trait IterableOps[RedisInstanceProvider, Iterable, Iterable[RedisInstanceProvider]]
trait IterableOnceOps[RedisInstanceProvider, Iterable, Iterable[RedisInstanceProvider]]
trait IterableOnce[RedisInstanceProvider]
class Object
trait Matchable
class Any
Show all
class RedisInstanceManagerImpl(config: Config, path: String)(implicit defaults: RedisSettings) extends RedisInstanceManager

Redis manager reading 'play.cache.redis.instances' tree for cache definitions.

Redis manager reading 'play.cache.redis.instances' tree for cache definitions.

Attributes

Supertypes
trait Iterable[RedisInstanceProvider]
trait IterableFactoryDefaults[RedisInstanceProvider, Iterable]
trait IterableOps[RedisInstanceProvider, Iterable, Iterable[RedisInstanceProvider]]
trait IterableOnceOps[RedisInstanceProvider, Iterable, Iterable[RedisInstanceProvider]]
trait IterableOnce[RedisInstanceProvider]
class Object
trait Matchable
class Any
Show all
sealed trait RedisInstanceProvider

Attributes

Supertypes
class Any
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
sealed trait RedisMasterSlaves extends RedisInstance

Type of Redis Instance - a master-slaves. It encapsulates common settings of the master and slaves nodes.

Type of Redis Instance - a master-slaves. It encapsulates common settings of the master and slaves nodes.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait RedisSentinel extends RedisInstance

Type of Redis Instance - a sentinel. It encapsulates common settings of the instance, name of the master group, and the list of sentinel nodes.

Type of Redis Instance - a sentinel. It encapsulates common settings of the instance, name of the master group, and the list of sentinel nodes.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object RedisSentinel

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Configures non-connection related settings of redis instance, e.g., synchronization timeout, Pekko dispatcher, and recovery policy.

Configures non-connection related settings of redis instance, e.g., synchronization timeout, Pekko dispatcher, and recovery policy.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object RedisSettings extends ConfigLoader[RedisSettings]

Attributes

Companion
trait
Supertypes
trait ConfigLoader[RedisSettings]
class Object
trait Matchable
class Any
Self type
sealed trait RedisStandalone extends RedisInstance, RedisHost

A type of Redis Instance - a standalone instance. It encapsulates common settings of the instance and provides a connection settings.

A type of Redis Instance - a standalone instance. It encapsulates common settings of the instance and provides a connection settings.

Attributes

Companion
object
Supertypes
trait RedisHost
class Object
trait Matchable
class Any
Show all

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Aggregates the timeout configuration settings

Aggregates the timeout configuration settings

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object RedisTimeouts

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
final case class RedisTimeoutsImpl(sync: FiniteDuration, redis: Option[FiniteDuration], connection: Option[FiniteDuration]) extends RedisTimeouts

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final class ResolvedRedisInstance(val instance: RedisInstance) extends RedisInstanceProvider

Attributes

Supertypes
class Object
trait Matchable
class Any
final class UnresolvedRedisInstance(val name: String) extends RedisInstanceProvider

Attributes

Supertypes
class Object
trait Matchable
class Any