Package

play.api.cache.redis

configuration

Permalink

package configuration

Visibility
  1. Public
  2. All

Type Members

  1. class ConnectionString extends ConfigurationFile

    Permalink

    Environment configuration expects the configuration to be injected through environment variable containing the connection string.

    Environment configuration expects the configuration to be injected through environment variable containing the connection string. This configuration is often used by PaaS environments.

    Annotations
    @Singleton()
  2. class ConnectionStringProvider extends Provider[ConnectionString]

    Permalink

    Reads environment variables for the connection string and returns EnvironmentConfiguration instance.

    Reads environment variables for the connection string and returns EnvironmentConfiguration instance. This configuration instance is designed to work in PaaS environments such as Heroku.

  3. trait RedisConfiguration extends AnyRef

    Permalink

    Configuration provider returns a connection settings to Redis server.

    Configuration provider returns a connection settings to Redis server. The application can run in various different environments and in many of them there might be very different connection settings. For example, for running the application on localhost is sufficient to set up configuration into the configuration file. Although for deploying the application into some PaaS it might be injected directly by the platform itself, e.g., via environment variable. This trait abstracts the configuration and allows its multiple implementations for every required environment.

Value Members

  1. object ConfigurationModule extends Module

    Permalink

    Configures low-level classes communicating with the redis server.

Ungrouped