com.ibatis.sqlmap.engine.cache
public interface CacheController
| Method Summary | |
|---|---|
| void | flush(CacheModel cacheModel)
Flush a cache model
|
| Object | getObject(CacheModel cacheModel, Object key)
Get an object from a cache model
|
| void | putObject(CacheModel cacheModel, Object key, Object object)
Put an object into a cache model
|
| Object | removeObject(CacheModel cacheModel, Object key)
Remove an object from a cache model
|
| void | setProperties(Properties props)
Configure a cache controller
|
Parameters: cacheModel - the model to flush
Parameters: cacheModel - the model key - the key to the object
Returns: the object if in the cache, or null(?)
Parameters: cacheModel - the model to add the object to key - the key to the object object - the object to add
Parameters: cacheModel - the model to remove the object from key - the key to the object
Returns: the removed object(?)
Parameters: props - the properties object continaing configuration information