public class EvictableDataContainer<K,V>
extends org.infinispan.container.impl.DefaultDataContainer<K,V>
DataContainer considers only specific cache entries for eviction.| Modifier | Constructor and Description |
|---|---|
protected |
EvictableDataContainer(long size,
org.infinispan.commons.util.EntrySizeCalculator<? super K,? super org.infinispan.container.entries.InternalCacheEntry<K,V>> calculator) |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> org.infinispan.container.DataContainer<K,V> |
createDataContainer(org.infinispan.configuration.cache.ConfigurationBuilder builder,
long size,
Predicate<K> evictable) |
addSegments, boundedDataContainer, boundedDataContainer, capacity, clear, clear, evictionSize, executeTask, executeTask, getMapForSegment, getSegmentForKey, iterator, iterator, iteratorIncludingExpired, iteratorIncludingExpired, keySet, removeSegments, resize, sizeIncludingExpired, spliterator, spliterator, spliteratorIncludingExpired, spliteratorIncludingExpired, unBoundedDataContaineraddRemovalListener, applyListener, compute, compute, computeEntryRemoved, computeEntryWritten, containsKey, containsKey, entrySet, evict, evict, expiredIterationPredicate, filterExpiredEntries, get, get, peek, peek, put, put, remove, remove, removeRemovalListener, touch, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static <K,V> org.infinispan.container.DataContainer<K,V> createDataContainer(org.infinispan.configuration.cache.ConfigurationBuilder builder,
long size,
Predicate<K> evictable)
Copyright © 2020 JBoss by Red Hat. All rights reserved.