|
||||||||||
| 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 | |
|---|---|
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, getChildrenNames, getConfig, loadEntireState, loadState, prepare, put, put, put, remove, remove, removeData, rollback, setCache, setConfig, setRegionManager, storeEntireState, storeState |
| Methods inherited from interface org.jboss.cache.Lifecycle |
|---|
create, destroy, start, stop |
| Method Detail |
|---|
Object loadObject(Fqn name)
throws Exception
name - The key under which the object is stored
Exception - Thrown if the object cannot be loaded
void storeObject(Fqn name,
Object pojo)
throws Exception
name - pojo -
Exception
void removeObject(Fqn name)
throws Exception
name -
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||