|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Responsible for storing and retrieving objects to/from secondary storage.
Method Summary | |
Object |
loadObject(Fqn name)
Loads an object from a persistent store. |
void |
removeObject(Fqn name)
Removes the object with the given key from the persistent store. |
void |
storeObject(Fqn name,
Object pojo)
Stores an object under a given key in the persistent store. |
Methods inherited from interface org.jboss.cache.loader.CacheLoader |
commit, exists, get, get, getChildrenNames, loadEntireState, prepare, put, put, put, remove, remove, removeData, rollback, setCache, setConfig, storeEntireState |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
Method Detail |
public Object loadObject(Fqn name) throws Exception
name
- The key under which the object is stored
Exception
- Thrown if the object cannot be loadedpublic void storeObject(Fqn name, Object pojo) throws Exception
name
- pojo
-
Exception
public void removeObject(Fqn name) throws Exception
name
-
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |