play.api.cache.redis
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
Synchronous and blocking implementation of the connection to the redis database
Synchronous and blocking implementation of the connection to the redis database
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Asynchronous non-blocking implementation of the connection to the redis database
Asynchronous non-blocking implementation of the connection to the redis database
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- object
- Supertypes
-
class AnyValtrait Matchableclass Any
Condensed reports policy produces logs without causes, i.e., logs are shorter but less informative.
Condensed reports policy produces logs without causes, i.e., logs are shorter but less informative.
Attributes
- Supertypes
Detailed reports policy produces logs with failure causes
Detailed reports policy produces logs with failure causes
Attributes
- Supertypes
Helper trait providing simplified and unified API to exception handling in play-redis
Helper trait providing simplified and unified API to exception handling in play-redis
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Command execution failed with exception
Command execution failed with exception
Attributes
- Supertypes
-
trait Producttrait Equalsclass RedisExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
computes cache duration from the given expiration date time.
computes cache duration from the given expiration date time.
Value parameters
- expireAt
-
The class accepts timestamp in milliseconds since 1970
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
It fails on failure, i.e., propages the exception to upper layers
It fails on failure, i.e., propages the exception to upper layers
Attributes
- Supertypes
Attributes
- Supertypes
- Self type
-
GuiceProvider.type
Attributes
- Supertypes
- Known subtypes
Attributes
- Supertypes
-
trait GuiceProviderImplicitstrait ProviderImplicitstrait Provider[RedisCaches]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait GuiceProviderImplicitstrait ProviderImplicitstrait RedisInstanceResolverclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Supertypes
-
trait GuiceProviderImplicitstrait ProviderImplicitstrait Provider[T]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object GuiceProvider.typetrait GuiceProviderImplicitsclass GuiceRedisCacheProviderclass NamedCacheInstanceProvider[T]
Recovers with a default value instead of failing through
Recovers with a default value instead of failing through
Attributes
- Supertypes
Recovery policy triggers when a request fails. Based on the implementation, it may try it again, recover with a default value or just simply log the failure. Either way, it is up to user to define what to do on failure.
Recovery policy triggers when a request fails. Based on the implementation, it may try it again, recover with a default value or just simply log the failure. Either way, it is up to user to define what to do on failure.
Attributes
- Since
-
1.3.0
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait FailThroughtrait RecoverWithDefaulttrait Reportstrait CondensedReportstrait DetailedReports
This resolver represents an abstraction over translation of the policy name into the instance. It has two subclasses, one for guice and the other for compile-time injection.
This resolver represents an abstraction over translation of the policy name into the instance. It has two subclasses, one for guice and the other for compile-time injection.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
resolves a policies with guice enabled
resolves a policies with guice enabled
Attributes
- Supertypes
Attributes
- Supertypes
Components for compile-time dependency injection. It binds components from configuration package
Components for compile-time dependency injection. It binds components from configuration package
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Play framework module implementing play.api.cache.CacheApi for redis-server key/value storage. For more details see README.
Play framework module implementing play.api.cache.CacheApi for redis-server key/value storage. For more details see README.
Attributes
- Supertypes
-
class Moduleclass Objecttrait Matchableclass Any
Generic exception produced by the library indicating internal failure
Generic exception produced by the library indicating internal failure
Attributes
- Supertypes
-
class RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Redis Lists are simply lists of strings, sorted by insertion order. It is possible to add elements to a Redis List pushing new elements on the head (on the left) or on the tail (on the right) of the list.
Redis Lists are simply lists of strings, sorted by insertion order. It is possible to add elements to a Redis List pushing new elements on the head (on the left) or on the tail (on the right) of the list.
Type parameters
- Elem
-
Data type of the inserted element
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Redis Hashes are simply hash maps with strings as keys. It is possible to add elements to a Redis Hashes by adding new elements into the collection.
Redis Hashes are simply hash maps with strings as keys. It is possible to add elements to a Redis Hashes by adding new elements into the collection.
This simplified wrapper implements only unordered Maps.
Type parameters
- Elem
-
Data type of the inserted element
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Redis Sets are simply unsorted sets of objects. It is possible to add elements to a Redis Set by adding new elements into the collection.
Redis Sets are simply unsorted sets of objects. It is possible to add elements to a Redis Set by adding new elements into the collection.
This simplified wrapper implements only unordered Sets.
Type parameters
- Elem
-
Data type of the inserted element
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Abstract recovery policy provides a general helpers for failure reporting. These might be usable when implementing own recovery policy.
Abstract recovery policy provides a general helpers for failure reporting. These might be usable when implementing own recovery policy.
Attributes
- Supertypes
- Known subtypes
-
trait CondensedReportstrait DetailedReports
Value serialization or deserialization failed.
Value serialization or deserialization failed.
Attributes
- Supertypes
-
trait Producttrait Equalsclass RedisExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Request timeouts
Request timeouts
Attributes
- Supertypes
-
trait Producttrait Equalsclass RedisExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Request succeeded but returned unexpected value
Request succeeded but returned unexpected value
Attributes
- Supertypes
-
trait Producttrait Equalsclass RedisExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Types
Value members
Inherited methods
helper indicating command execution failed with exception
helper indicating command execution failed with exception
Attributes
- Inherited from:
- ExceptionImplicits
helper indicating invalid configuration
helper indicating serialization failure, it throws an exception
helper indicating serialization failure, it throws an exception
Attributes
- Inherited from:
- ExceptionImplicits
helper indicating command execution timed out
helper indicating the command execution returned unexpected exception
helper indicating the command execution returned unexpected exception
Attributes
- Inherited from:
- ExceptionImplicits
helper throwing UnsupportedOperationException
Implicits
Implicits
Inherited implicits
Attributes
- Inherited from:
- ExpirationImplicits (hidden)
Attributes
- Inherited from:
- ExpirationImplicits (hidden)