Package

play.api.cache.redis

impl

Permalink

package impl

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait InvocationPolicy extends AnyRef

    Permalink

    Invocation policy implements whether to wait for the operation result or not.

    Invocation policy implements whether to wait for the operation result or not. This applies only in the limited number of operations. The best examples are getOrElse and getOrFuture. First, both methods invoke get, then, if missed, compute orElse clause. Finally, there is the invocation of set, however, in some scenarios, there is not required to wait for the result of set operation. The value can be returned earlier. This is the difference between Eager (not waiting) and Lazy (waiting) invocation policies.

  2. trait RedisCaches extends AnyRef

    Permalink

    Aggregates all available redis APIs into a single handler.

    Aggregates all available redis APIs into a single handler. This simplifies binding, construction, and accessing all APIs.

  3. sealed trait RedisPrefix extends Any

    Permalink

    Each instance can apply its own prefix, e.g., to use multiple instances with the same redis database.

  4. final class RedisPrefixImpl extends AnyVal with RedisPrefix

    Permalink

Value Members

  1. object Builders

    Permalink

    Transforms future result produced by redis implementation to the result of the desired type

  2. object EagerInvocation extends InvocationPolicy

    Permalink
  3. object LazyInvocation extends InvocationPolicy

    Permalink
  4. object RedisEmptyPrefix extends RedisPrefix

    Permalink

Ungrouped