Constructor and Description |
---|
PerpetualCache(String id) |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears this cache instance.
|
boolean |
equals(Object o) |
String |
getId() |
Object |
getObject(Object key) |
int |
getSize()
Optional.
|
int |
hashCode() |
void |
putObject(Object key,
Object value) |
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.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getReadWriteLock
public PerpetualCache(String id)
public String getId()
public int getSize()
Cache
public Object removeObject(Object key)
Cache
removeObject
in interface Cache
key
- The keypublic void clear()
Cache
Copyright © 2009–2020 MyBatis.org. All rights reserved.