-
public class ConcurrentLongObjectCache<V extends Object> extends LongObjectCacheBase<V>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classConcurrentLongObjectCache.Companion
-
Constructor Summary
Constructors Constructor Description ConcurrentLongObjectCache(Integer size, Integer numberOfGenerations)ConcurrentLongObjectCache(Integer size)ConcurrentLongObjectCache()
-
Method Summary
Modifier and Type Method Description final BooleangetIsEmpty()VtryKeyLocked(Long key)VgetObjectLocked(Long key)VcacheObjectLocked(Long key, V x)VremoveLocked(Long key)Unitclear()Unitlock()Unitunlock()VcacheObject(Long key, V x)Vremove(Long key)VtryKey(Long key)VgetObject(Long key)Integercount()-
Methods inherited from class jetbrains.exodus.core.dataStructures.ConcurrentLongObjectCache
adjustHitRate, containsKey, get, isCached, put, size -
Methods inherited from class jetbrains.exodus.core.dataStructures.LongObjectCacheBase
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(Long key)
-
getObjectLocked
V getObjectLocked(Long key)
-
cacheObjectLocked
V cacheObjectLocked(Long key, V x)
-
removeLocked
V removeLocked(Long key)
-
cacheObject
V cacheObject(Long key, V x)
-
-
-
-