| java.lang.Object com.ibatis.sqlmap.engine.cache.fifo.FifoCacheController
FifoCacheController | public class FifoCacheController implements CacheController(Code) | | FIFO (first in, first out) cache controller implementation
|
FifoCacheController | public FifoCacheController()(Code) | | Default constructor
|
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 |
|
|