com.ibatis.db.sqlmap.cache.oscache
Class OSCacheController

java.lang.Object
  extended bycom.ibatis.db.sqlmap.cache.oscache.OSCacheController
All Implemented Interfaces:
CacheController

public class OSCacheController
extends java.lang.Object
implements CacheController


Field Summary
private static com.opensymphony.oscache.general.GeneralCacheAdministrator cache
           
 
Constructor Summary
OSCacheController()
           
 
Method Summary
 void configure(java.util.Properties props)
           
 void flush(CacheModel cacheModel)
           
 java.lang.Object getObject(CacheModel cacheModel, java.lang.Object key)
           
 void putObject(CacheModel cacheModel, java.lang.Object key, java.lang.Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cache

private static final com.opensymphony.oscache.general.GeneralCacheAdministrator cache
Constructor Detail

OSCacheController

public OSCacheController()
Method Detail

flush

public void flush(CacheModel cacheModel)
Specified by:
flush in interface CacheController

getObject

public java.lang.Object getObject(CacheModel cacheModel,
                                  java.lang.Object key)
Specified by:
getObject in interface CacheController

putObject

public void putObject(CacheModel cacheModel,
                      java.lang.Object key,
                      java.lang.Object object)
Specified by:
putObject in interface CacheController

configure

public void configure(java.util.Properties props)
Specified by:
configure in interface CacheController