public class SoftConcurrentLongObjectCache<V> extends SoftLongObjectCacheBase<V>
LongObjectCacheBase.CriticalSectionDEFAULT_SIZE, MIN_SIZEsize| Constructor and Description |
|---|
SoftConcurrentLongObjectCache(int cacheSize) |
| Modifier and Type | Method and Description |
|---|---|
protected @NotNull ConcurrentLongObjectCache<V> |
newChunk(int chunkSize) |
cacheObject, clear, count, getObject, lock, newCriticalSection, remove, tryKey, unlockadjustHitRate, containsKey, get, isCached, isEmpty, put, size, tryKeyLockedclose, getAttempts, getCacheAdjuster, getHits, hitRate, incAttempts, incHits, setAttempts, setHitspublic SoftConcurrentLongObjectCache(int cacheSize)
@NotNull protected @NotNull ConcurrentLongObjectCache<V> newChunk(int chunkSize)
newChunk in class SoftLongObjectCacheBase<V>