| java.lang.Object com.ibatis.sqlmap.engine.cache.memory.MemoryCacheController
MemoryCacheController | public class MemoryCacheController implements CacheController(Code) | | Memory-based implementation of CacheController
|
configure | public void configure(Properties props)(Code) | | Configures the cache
Parameters: props - Optionally can contain properties [reference-type=WEAK|SOFT|STRONG] |
flush | public void flush(CacheModel cacheModel)(Code) | | Flushes the cache.
Parameters: cacheModel - The cache model |
getObject | public Object getObject(CacheModel cacheModel, Object key)(Code) | | Get an object out of the cache.
Parameters: cacheModel - The cache model Parameters: key - The key of the object to be returned The cached object (or null) |
putObject | public void putObject(CacheModel cacheModel, Object key, Object value)(Code) | | Add an object to the cache
Parameters: cacheModel - The cacheModel Parameters: key - The key of the object to be cached Parameters: value - The object to be cached |
|
|