play.api.cache.redis.impl

Members list

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait InvocationPolicy

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.

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.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object EagerInvocation.type
object LazyInvocation.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
trait RedisCaches

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

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

Attributes

Supertypes
class Object
trait Matchable
class Any
object RedisEmptyPrefix extends RedisPrefix

Attributes

Supertypes
trait RedisPrefix
class Object
trait Matchable
class Any
Self type
class RedisListJavaImpl[Elem](internal: RedisList[Elem, Future])(implicit runtime: RedisRuntime) extends AsyncRedisList[Elem]

Attributes

Supertypes
trait AsyncRedisList[Elem]
class Object
trait Matchable
class Any
class RedisMapJavaImpl[Elem](internal: RedisMap[Elem, Future])(implicit runtime: RedisRuntime) extends AsyncRedisMap[Elem]

Attributes

Supertypes
trait AsyncRedisMap[Elem]
class Object
trait Matchable
class Any
sealed trait RedisPrefix

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

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

Attributes

Supertypes
class Any
Known subtypes
object RedisEmptyPrefix.type
final class RedisPrefixImpl(val prefix: String) extends AnyVal, RedisPrefix

Attributes

Supertypes
trait RedisPrefix
class AnyVal
trait Matchable
class Any
class RedisSetJavaImpl[Elem](internal: RedisSet[Elem, Future])(implicit runtime: RedisRuntime) extends AsyncRedisSet[Elem]

Attributes

Supertypes
trait AsyncRedisSet[Elem]
class Object
trait Matchable
class Any