Class RangeCache<C extends Comparable<C>, V>
java.lang.Object
org.aksw.commons.cache.plain.RangeCache<C,V>
- Type Parameters:
V-K-
An extension of loading cache that allows for making explicit
references to cached entries such that they won't be evicted.
As long as an entry's reference is not released the cache entry will not be evicted.
- Author:
- raven
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRangeCache(com.google.common.cache.CacheBuilder<com.google.common.collect.Range<C>, V> cacheBuilder) -
Method Summary
-
Field Details
-
cache
protected com.google.common.cache.Cache<com.google.common.collect.Range<C extends Comparable<C>>, V> cache -
cacheKeys
-
claimed
-
-
Constructor Details
-
RangeCache
-
-
Method Details
-
put
-
claimAll
-