Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.ibatis.sqlmap.engine.cache
Interface CacheController  view CacheController download CacheController.java


public interface CacheController

Cache controller (implementation) interface


Method Summary
 void configure(java.util.Properties props)
          Configure a cache controller
 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
 

Method Detail

flush

public void flush(CacheModel cacheModel)
Flush a cache model


getObject

public java.lang.Object getObject(CacheModel cacheModel,
                                  java.lang.Object key)
Get an object from a cache model


removeObject

public java.lang.Object removeObject(CacheModel cacheModel,
                                     java.lang.Object key)
Remove an object from a cache model


putObject

public void putObject(CacheModel cacheModel,
                      java.lang.Object key,
                      java.lang.Object object)
Put an object into a cache model


configure

public void configure(java.util.Properties props)
Configure a cache controller