|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface is implemented by all operations whose results can be cached. Caching strategies call fetch when they want to retrieve an object by key. They may choose not to call this method if the object is already in the cache. Typically this method will be a relatively expensive method in terms of I/O or computation, so caching strategies will avoid calling this method except when it is the only way to retrieve the correct object.
Typical Usage:
Called by CachingStrategy implementations.
CachingStrategy| Method Summary | |
java.lang.Object |
fetch(java.lang.Object key)
Fetch an object based on a key. |
| Method Detail |
public java.lang.Object fetch(java.lang.Object key)
throws java.lang.Exception
key - the key
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||