|
Oracle Application Server 10g Java Object Cache API Reference 10g(9.0.4) B10388-01 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--oracle.ias.cache.CacheLoader
CacheLoader is an abstract class. Application should extend this class to handle the loading of objects into the cache. A cache loader can be registered for a region, a group or a specific object using CacheAccess object's define methods.
CacheAccess.defineRegion, CacheAccess.defineGroup, CacheAccess.defineObject| Constructor Summary | |
CacheLoader() | |
| Method Summary | |
abstract java.lang.Object |
load(java.lang.Object handle, java.lang.Object argument)is an abstract method. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CacheLoader()
| Method Detail |
public abstract java.lang.Object load(java.lang.Object handle,
java.lang.Object argument)
throws CacheException
handle - An internal handle object is passed in from cache service. It should only be used as the first parameter of the netSearch(handle, timeout) or setAttributes(handle, attributes) API.argument - It is an argument object for load method passed in from customer code. This object is passed in as args either in get(String name, Object args), or get(String name, String group, Object args)CacheException - if any error occurs.CacheAccess.get
|
Oracle Application Server 10g Java Object Cache API Reference 10g(9.0.4) B10388-01 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||