-
public class ConcurrentIntObjectCache<V extends Object> extends IntObjectCacheBase<V>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classConcurrentIntObjectCache.Companion
-
Constructor Summary
Constructors Constructor Description ConcurrentIntObjectCache(Integer size, Integer numberOfGenerations)ConcurrentIntObjectCache(Integer size)ConcurrentIntObjectCache()
-
Method Summary
Modifier and Type Method Description final BooleangetIsEmpty()VtryKeyLocked(Integer key)VgetObjectLocked(Integer key)VcacheObjectLocked(Integer key, V x)VremoveLocked(Integer key)Unitclear()Unitlock()Unitunlock()VcacheObject(Integer key, V x)Vremove(Integer key)VtryKey(Integer key)VgetObject(Integer key)Integercount()-
Methods inherited from class jetbrains.exodus.core.dataStructures.ConcurrentIntObjectCache
adjustHitRate, containsKey, get, isCached, put, size -
Methods inherited from class jetbrains.exodus.core.dataStructures.IntObjectCacheBase
close, getAttempts, getCacheAdjuster, getHits, hitRate, incAttempts, incHits, setAttempts, setHits -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getIsEmpty
final Boolean getIsEmpty()
-
tryKeyLocked
V tryKeyLocked(Integer key)
-
getObjectLocked
V getObjectLocked(Integer key)
-
cacheObjectLocked
V cacheObjectLocked(Integer key, V x)
-
removeLocked
V removeLocked(Integer key)
-
cacheObject
V cacheObject(Integer key, V x)
-
-
-
-