refresh abstract method

CacheContentType refresh()

Updates the cache to an updated state.

It is called either manually or via the value getter when it is accessed and the cached is considered invalid.

On CachedValue.simple, Manually calls the compute update callback (given by the constructor) and store the result on cache.

After refresh, the cache is considered valid.

The returned value should be the new cache value.

Implementation

CacheContentType refresh();