Interface MethodResultCache
-
public interface MethodResultCache
Manages a cache value as the result of invoking a no-arguments method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectget()Returns the previously cached value, if any.booleanisCached()Returns true if the cache contains a cached value.voidreset()Resets the cache, discarding the cached value.voidset(Object cachedValue)Stores a new cached value for later reference.
-