-
public abstract class LongObjectCacheBase<V extends Object> extends CacheHitRateable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classLongObjectCacheBase.Companion
-
Method Summary
Modifier and Type Method Description final BooleangetIsEmpty()final BooleancontainsKey(Long key)final Vget(Long key)final Vput(Long key, V value)<ERROR CLASS>tryKeyLocked(Long key)<ERROR CLASS>getObjectLocked(Long key)<ERROR CLASS>cacheObjectLocked(Long key, V x)<ERROR CLASS>removeLocked(Long key)final BooleanisCached(Long key)final <ERROR CLASS>size()<ERROR CLASS>adjustHitRate()abstract Unitclear()abstract Unitlock()abstract Unitunlock()abstract VtryKey(Long key)abstract VgetObject(Long key)abstract VcacheObject(Long key, V x)abstract Vremove(Long key)abstract Integercount()-
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()
-
containsKey
final Boolean containsKey(Long key)
-
tryKeyLocked
<ERROR CLASS> tryKeyLocked(Long key)
-
getObjectLocked
<ERROR CLASS> getObjectLocked(Long key)
-
cacheObjectLocked
<ERROR CLASS> cacheObjectLocked(Long key, V x)
-
removeLocked
<ERROR CLASS> removeLocked(Long key)
-
size
final <ERROR CLASS> size()
-
adjustHitRate
<ERROR CLASS> adjustHitRate()
-
cacheObject
abstract V cacheObject(Long key, V x)
-
-
-
-