|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibatis.sqlmap.engine.cache.oscache.OSCacheController
Cache implementation for using OSCache with iBATIS
Constructor Summary | |
OSCacheController()
|
Method Summary | |
void |
configure(java.util.Properties props)
Configure a cache controller |
void |
flush(CacheModel cacheModel)
Flush a cache model |
java.lang.Object |
getObject(CacheModel cacheModel,
java.lang.Object key)
Get an object from a cache model |
void |
putObject(CacheModel cacheModel,
java.lang.Object key,
java.lang.Object object)
Put an object into a cache model |
java.lang.Object |
removeObject(CacheModel cacheModel,
java.lang.Object key)
Remove an object from a cache model |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OSCacheController()
Method Detail |
public void flush(CacheModel cacheModel)
CacheController
flush
in interface CacheController
cacheModel
- - the model to flushpublic java.lang.Object getObject(CacheModel cacheModel, java.lang.Object key)
CacheController
getObject
in interface CacheController
cacheModel
- - the modelkey
- - the key to the object
public java.lang.Object removeObject(CacheModel cacheModel, java.lang.Object key)
CacheController
removeObject
in interface CacheController
cacheModel
- - the model to remove the object fromkey
- - the key to the object
public void putObject(CacheModel cacheModel, java.lang.Object key, java.lang.Object object)
CacheController
putObject
in interface CacheController
cacheModel
- - the model to add the object tokey
- - the key to the objectobject
- - the object to addpublic void configure(java.util.Properties props)
CacheController
configure
in interface CacheController
props
- - the properties object continaing configuration information
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |