KEYTYPE - The cache key typeVALUETYPE - The cache value type@ThreadSafe public class Cache<KEYTYPE,VALUETYPE> extends MappedCache<KEYTYPE,KEYTYPE,VALUETYPE>
ICache and IMutableCache. Since
v9.3.8 this class is based on MappedCache.| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_ALLOW_NULL_VALUES |
m_aRWLock, NO_MAX_SIZE, STATISTICS_PREFIX| Constructor and Description |
|---|
Cache(IFunction<KEYTYPE,VALUETYPE> aCacheValueProvider,
int nMaxSize,
String sCacheName) |
Cache(IFunction<KEYTYPE,VALUETYPE> aCacheValueProvider,
int nMaxSize,
String sCacheName,
boolean bAllowNullValues) |
Cache(IFunction<KEYTYPE,VALUETYPE> aCacheValueProvider,
String sCacheName) |
clearCache, createCache, getCacheKeyProvider, getFromCache, getFromCacheNoStats, getFromCacheNoStatsNotLocked, getMaxSize, getName, getValueProvider, hasMaxSize, isAllowNullValues, isEmpty, isInCache, isNotEmpty, putInCache, putInCacheNotLocked, removeFromCache, size, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComparatorCollating, getComparatorNamepublic static final boolean DEFAULT_ALLOW_NULL_VALUES
Copyright © 2014–2020 Philip Helger. All rights reserved.