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