CondensedReports

play.api.cache.redis.CondensedReports
trait CondensedReports extends Reports

Condensed reports policy produces logs without causes, i.e., logs are shorter but less informative.

Attributes

Graph
Supertypes
trait Reports
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

protected def doLog(message: String, cause: Option[Throwable]): Unit

Inherited methods

protected def message(failure: RedisException): String

Attributes

Inherited from:
Reports
def name: String

name of the policy used for internal purposes

name of the policy used for internal purposes

Attributes

Inherited from:
RecoveryPolicy
def recoverFrom[T](rerun: => Future[T], default: => Future[T], failure: RedisException): Future[T]

When a failure occurs, this method handles it. It may re-run it, return default value, log it or propagate the exception.

When a failure occurs, this method handles it. It may re-run it, return default value, log it or propagate the exception.

Type parameters

T

expected result type

Value parameters

default

default value neutral to the operation

failure

incident report

rerun

failed request (cache operation)

Attributes

Returns

failure recovery or exception

Inherited from:
Reports
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Inherited from:
RecoveryPolicy

Inherited fields

protected val log: Logger

logger instance

logger instance

Attributes

Inherited from:
Reports