| 
 | ||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | |||||||||
public interface CacheController
Cache controller (implementation) interface
| 方法摘要 | |
|---|---|
|  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 flush
java.lang.Object getObject(CacheModel cacheModel,
                           java.lang.Object key)
cacheModel - - the modelkey - - the key to the object
java.lang.Object removeObject(CacheModel cacheModel,
                              java.lang.Object key)
cacheModel - - the model to remove the object fromkey - - the key to the object
void 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| 
 | ||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | |||||||||