public interface CacheLoaderAop extends CacheLoader
Modifier and Type | Method and Description |
---|---|
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.
|
commit, exists, get, getChildrenNames, getConfig, loadEntireState, loadState, prepare, put, put, put, remove, remove, removeData, rollback, setCache, setConfig, setRegionManager, storeEntireState, storeState
Object loadObject(Fqn name) throws Exception
name
- The key under which the object is storedException
- Thrown if the object cannot be loadedvoid storeObject(Fqn name, Object pojo) throws Exception
name
- pojo
- Exception
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.