Flags

case class Flags(readsEnabled: Boolean, writesEnabled: Boolean)

Configuration flags for conditionally altering the behaviour of ScalaCache.

Value Params
readsEnabled

if false, cache GETs will be skipped (and will return None)

writesEnabled

if false, cache PUTs will be skipped

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product