| net.jforum.cache.CacheEngine
All known Subclasses: net.jforum.cache.DefaultCacheEngine, net.jforum.cache.EhCacheEngine, net.jforum.cache.JBossCacheEngine,
CacheEngine | public interface CacheEngine (Code) | | author: Rafael Steil version: $Id: CacheEngine.java,v 1.11 2006/08/20 22:47:56 rafaelsteil Exp $ |
add | public void add(String key, Object value)(Code) | | Adds a new object to the cache.
The fqn will be set as the value of
CacheEngine.DUMMY_FQN Parameters: key - The key to associate with the object. Parameters: value - The object to cache |
add | public void add(String fqn, String key, Object value)(Code) | | Adds a new object to the cache.
Parameters: fqn - The fully qualified name of the cache. Parameters: key - The key to associate with the object Parameters: value - The object to cache |
get | public Object get(String fqn, String key)(Code) | | Gets some object from the cache.
Parameters: fqn - The fully qualified name associated with the key Parameters: key - The key to get The cached object, or null if no entry was found |
get | public Object get(String fqn)(Code) | | Gets some object from the cache.
Parameters: fqn - The fqn tree to get The cached object, or null if no entry was found |
getValues | public Collection getValues(String fqn)(Code) | | Gets all values from some given FQN.
Parameters: fqn - String Collection |
init | public void init()(Code) | | Inits the cache engine.
|
remove | public void remove(String fqn, String key)(Code) | | Removes an entry from the cache.
Parameters: fqn - The fully qualified name associated with the key Parameters: key - The key to remove |
remove | public void remove(String fqn)(Code) | | Removes a complete note from the cache
Parameters: fqn - The fqn to remove |
stop | public void stop()(Code) | | Stops the cache engine
|
|
|