public class FIXEDCacheImpl extends LRUCacheImpl
If the cache is full the statement is not added to the cache.
LRUCacheImpl.CacheEntry
_logger
Constructor and Description |
---|
FIXEDCacheImpl(PoolInfo poolInfo,
int maxSize) |
Modifier and Type | Method and Description |
---|---|
void |
addToCache(CacheObjectKey key,
Object o,
boolean force)
Add the key and entry value into the cache.
|
checkAndUpdateCache, clearCache, flushCache, getMaxSize, getSize, isSynchronized, purge, purge
public FIXEDCacheImpl(PoolInfo poolInfo, int maxSize)
public void addToCache(CacheObjectKey key, Object o, boolean force)
LRUCacheImpl
addToCache
in interface Cache
addToCache
in class LRUCacheImpl
key
- key that contains the sql string and its type (PS/CS)o
- entry that is the wrapper of PreparedStatement or
CallableStatementforce
- If the already existing key is to be overwrittenCopyright © 2021. All rights reserved.