public interface CacheControl
Title: CacheControl.java
Description: 缓冲刷新控制机制
Copyright: Copyright (c) 2007
| 限定符和类型 | 方法和说明 |
|---|---|
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
|
void |
setProperties(java.util.Properties props)
Configure a cache controller
|
void flush(CacheModel cacheModel)
cacheModel - - the model to flushjava.lang.Object getObject(CacheModel cacheModel, java.lang.Object key)
cacheModel - - the modelkey - - the key to the objectjava.lang.Object removeObject(CacheModel cacheModel, java.lang.Object key)
cacheModel - - the model to remove the object fromkey - - the key to the objectvoid putObject(CacheModel cacheModel, java.lang.Object key, java.lang.Object object)
cacheModel - - the model to add the object tokey - - the key to the objectobject - - the object to addvoid setProperties(java.util.Properties props)
props - - the properties object continaing configuration information