Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.internal.transform
Interface MethodResultCache

    public interface MethodResultCache

Manages a cache value as the result of invoking a no-arguments method.

Method Summary
`java.lang.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(java.lang.Object cachedValue)` Stores a new cached value for later reference.

Method Detail

### isCached

    boolean isCached()

  Returns true if the cache contains a cached value. May also check to see if the cached value is valid.

### set

    void set(java.lang.Object cachedValue)

  Stores a new cached value for later reference.

### get

    java.lang.Object get()

  Returns the previously cached value, if any.

### reset

    void reset()

  Resets the cache, discarding the cached value.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.