| Modifier and Type | Field and Description |
|---|---|
protected long |
clearInterval |
protected long |
lastClear |
| Constructor and Description |
|---|
ScheduledCache(Cache delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears this cache instance.
|
boolean |
equals(Object obj) |
String |
getId() |
Object |
getObject(Object key) |
int |
getSize()
Optional.
|
int |
hashCode() |
void |
putObject(Object key,
Object object) |
Object |
removeObject(Object key)
As of 3.3.0 this method is only called during a rollback
for any previous value that was missing in the cache.
|
void |
setClearInterval(long clearInterval) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetReadWriteLockpublic ScheduledCache(Cache delegate)
public void setClearInterval(long clearInterval)
public String getId()
public int getSize()
Cachepublic Object removeObject(Object key)
CacheremoveObject in interface Cachekey - The keypublic void clear()
CacheCopyright © 2009–2021 MyBatis.org. All rights reserved.