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, purgepublic FIXEDCacheImpl(PoolInfo poolInfo, int maxSize)
public void addToCache(CacheObjectKey key, Object o, boolean force)
LRUCacheImpladdToCache in interface CacheaddToCache in class LRUCacheImplkey - 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 © 2019. All rights reserved.