|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MethodResultCache
Manages a cache value as the result of invoking a no-arguments method.
Method Summary | |
---|---|
Object |
get()
Returns the previously cached value, if any. |
boolean |
isCached()
Returns true if the cache contains a cached value. |
void |
reset()
Resets the cache, discarding the cached value. |
void |
set(Object cachedValue)
Stores a new cached value for later reference. |
Method Detail |
---|
boolean isCached()
void set(Object cachedValue)
Object get()
void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |