|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheLoaderAop
Responsible for storing and retrieving objects to/from secondary storage.
Method Summary | |
---|---|
java.lang.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,
java.lang.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, 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 |
---|
java.lang.Object loadObject(Fqn name) throws java.lang.Exception
name
- The key under which the object is stored
java.lang.Exception
- Thrown if the object cannot be loadedvoid storeObject(Fqn name, java.lang.Object pojo) throws java.lang.Exception
name
- pojo
-
java.lang.Exception
void removeObject(Fqn name) throws java.lang.Exception
name
-
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |