-
public final class EntityIterableCache
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classEntityIterableCache.Companion
-
Field Summary
Fields Modifier and Type Field Description private final EntityIterableCacheStatisticsstatsprivate final <ERROR CLASS>processorprivate BooleancachingDisabledprivate final BooleanisDispatcherThread
-
Method Summary
Modifier and Type Method Description final EntityIterableCacheStatisticsgetStats()final <ERROR CLASS>getProcessor()final BooleangetCachingDisabled()final UnitsetCachingDisabled(Boolean cachingDisabled)final BooleangetIsDispatcherThread()final ObjectgetCacheAdapter()final FloathitRate()final FloatcountsCacheHitRate()final Integercount()final Unitclear()final EntityIterableBaseputIfNotCached(EntityIterableBase it)final LonggetCachedCount(EntityIterableHandle handle)final LonggetCachedCount(EntityIterableBase it)final UnitsetCachedCount(EntityIterableHandle handle, Long count)final BooleancompareAndSetCacheAdapter(Object old, Object new)-
-
Method Detail
-
getStats
final EntityIterableCacheStatistics getStats()
-
getProcessor
final <ERROR CLASS> getProcessor()
-
getCachingDisabled
final Boolean getCachingDisabled()
-
setCachingDisabled
final Unit setCachingDisabled(Boolean cachingDisabled)
-
getIsDispatcherThread
final Boolean getIsDispatcherThread()
-
getCacheAdapter
final Object getCacheAdapter()
-
countsCacheHitRate
final Float countsCacheHitRate()
-
putIfNotCached
final EntityIterableBase putIfNotCached(EntityIterableBase it)
- Parameters:
it- iterable.
-
getCachedCount
final Long getCachedCount(EntityIterableHandle handle)
-
getCachedCount
final Long getCachedCount(EntityIterableBase it)
-
setCachedCount
final Unit setCachedCount(EntityIterableHandle handle, Long count)
-
compareAndSetCacheAdapter
final Boolean compareAndSetCacheAdapter(Object old, Object new)
-
-
-
-