Package org.opensearch.index.store.remote.utils.cache
package org.opensearch.index.store.remote.utils.cache
Reference counted cache which is a cache which takes into consideration reference count per cache entry and it's eviction policy
depends on current reference count.
For more context why in-house cache implementation exist look at this comment and this ticket for future plans
For more context why in-house cache implementation exist look at this comment and this ticket for future plans
-
ClassDescriptionUsage metrics for
RefCountedCache
RefCountedCache<K,V> Custom Cache which support typical cache operations (put, get, ...) and it support reference counting per individual key which might change eviction behaviorSegmentedCache<K,V> SegmentedLRUCache
to offer concurrent access with less contention.A builder that createsSegmentedCache
instances.