|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shotoku.cache.ShotokuCache
public class ShotokuCache
A global cache.
| Constructor Summary | |
|---|---|
ShotokuCache()
|
|
| Method Summary | |
|---|---|
static java.lang.Object |
get(java.lang.Object key)
Gets an object from the cache, which is bound to the given key. |
static void |
put(java.lang.Object key,
java.lang.Object o)
Places the given object in the cache, binding it with the given key. |
static void |
remove(java.lang.Object key)
Removes a binding for the key in the cache, in one exists. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShotokuCache()
| Method Detail |
|---|
public static void put(java.lang.Object key,
java.lang.Object o)
key - Key for the object.o - Object to place in the cache.public static java.lang.Object get(java.lang.Object key)
key - Key for which to get the object.
public static void remove(java.lang.Object key)
key - Key to remove.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||