|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Cache
Interface for classes that provide access to a disk-based cache. The main is intended to be the caching of rendered LaTeX labels so that they don't have to be re-rendered all the time.
| Method Summary | |
|---|---|
java.lang.Object |
get(java.lang.String key)
Retrieve an object from the cache. |
void |
put(java.lang.String key,
java.lang.Object value)
Put a Serializable object into the cache. |
| Method Detail |
|---|
void put(java.lang.String key,
java.lang.Object value)
Serializable object into the cache.
key - the key that will be used for retrievalvalue - the object to be stored in the cacheget(String)
java.lang.Object get(java.lang.String key)
throws NotInCacheException
key - the key used to retrieve the object
NotInCacheException - when the object is not found in the cacheput(String, Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||