Package | Description |
---|---|
org.infinispan.configuration.cache |
Cache configuration |
Modifier and Type | Method and Description |
---|---|
EvictionConfigurationBuilder |
ConfigurationChildBuilder.eviction() |
EvictionConfigurationBuilder |
ConfigurationBuilder.eviction() |
EvictionConfigurationBuilder |
EvictionConfigurationBuilder.maxEntries(int maxEntries)
Deprecated.
|
EvictionConfigurationBuilder |
EvictionConfigurationBuilder.maxEntries(long maxEntries)
Deprecated.
|
EvictionConfigurationBuilder |
EvictionConfigurationBuilder.read(EvictionConfiguration template) |
EvictionConfigurationBuilder |
EvictionConfigurationBuilder.size(long size)
Defines the maximum size before eviction occurs.
|
EvictionConfigurationBuilder |
EvictionConfigurationBuilder.strategy(EvictionStrategy evictionStrategy)
Eviction strategy.
|
EvictionConfigurationBuilder |
EvictionConfigurationBuilder.threadPolicy(EvictionThreadPolicy policy)
Threading policy for eviction.
|
EvictionConfigurationBuilder |
EvictionConfigurationBuilder.type(EvictionType type)
Sets the eviction type which can either be
COUNT - entries will be evicted when the number of entries exceeds the
size(long)
MEMORY - entries will be evicted when the approximate combined size of all values exceeds the size(long)
Cache size is guaranteed not to exceed upper
limit specified by max entries. |
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.