Class DataContainerConfiguration
java.lang.Object
org.wildfly.clustering.cache.infinispan.embedded.container.DataContainerConfiguration
- All Implemented Interfaces:
org.infinispan.commons.configuration.attributes.Matchable<DataContainerConfiguration>
public class DataContainerConfiguration
extends Object
implements org.infinispan.commons.configuration.attributes.Matchable<DataContainerConfiguration>
Configuration of a Caffeine-based data container.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescription<K> Predicate<K> Returns the predicate used to determine which data container entries can be evicted.Returns the duration after which evictable idle data container entries should be evicted.booleanmatches(DataContainerConfiguration configuration)
-
Method Details
-
evictable
Returns the predicate used to determine which data container entries can be evicted.- Type Parameters:
K- the cache key- Returns:
- the predicate used to determine which data container entries can be evicted.
-
idleTimeout
Returns the duration after which evictable idle data container entries should be evicted.- Returns:
- the duration after which evictable idle data container entries should be evicted.
-
matches
- Specified by:
matchesin interfaceorg.infinispan.commons.configuration.attributes.Matchable<DataContainerConfiguration>
-