Methods Summary |
---|
public void | delete()Deletes the cache. If file based the file has to be deleted also.
|
public java.lang.Object | get(java.lang.Object key)Returns a value for a given key from the cache.
|
public boolean | isValid()Checks its prerequisites.
|
public java.util.Iterator | iterator()Returns an iterator over the keys in the cache.
|
public void | load()Loads the cache, must handle not existing cache.
|
public void | put(java.lang.Object key, java.lang.Object value)Saves a key-value-pair in the cache.
|
public void | save()Saves modification of the cache.
|