CachedImpl

data class CachedImpl<T> : Cached<T>, Any

Fields

Name Description
val isValid: Boolean
val isInvalid: Boolean
val value: T

Constructors

<init>

constructor(generator: ()->T)

Parameters

Name Description
generator: ()->T

Methods

regenerate

fun regenerate()

ReturnValue

Name Description
Unit

invalidate

fun invalidate()

ReturnValue

Name Description
Unit