SingletonCache

A cache that stores a single value.

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def read(from: Input): A

Reads the cache from the backing from.

Reads the cache from the backing from.

def write(to: Output, value: A): Unit

Writes value to the backing to.

Writes value to the backing to.