org.apache.ibatis.cache.decorators
Class ScheduledCache
java.lang.Object
org.apache.ibatis.cache.decorators.ScheduledCache
- All Implemented Interfaces:
- Cache
public class ScheduledCache
- extends Object
- implements Cache
clearInterval
protected long clearInterval
lastClear
protected long lastClear
ScheduledCache
public ScheduledCache(Cache delegate)
setClearInterval
public void setClearInterval(long clearInterval)
getId
public String getId()
- Specified by:
getId
in interface Cache
getSize
public int getSize()
- Specified by:
getSize
in interface Cache
putObject
public void putObject(Object key,
Object object)
- Specified by:
putObject
in interface Cache
getObject
public Object getObject(Object key)
- Specified by:
getObject
in interface Cache
removeObject
public Object removeObject(Object key)
- Specified by:
removeObject
in interface Cache
clear
public void clear()
- Specified by:
clear
in interface Cache
getReadWriteLock
public ReadWriteLock getReadWriteLock()
- Specified by:
getReadWriteLock
in interface Cache
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2010-2012 MyBatis.org. All Rights Reserved.