Package | Description |
---|---|
org.infinispan.configuration.cache |
Cache configuration |
org.infinispan.eviction |
Classes related to eviction.
|
Modifier and Type | Field and Description |
---|---|
static AttributeDefinition<EvictionStrategy> |
MemoryConfiguration.EVICTION_STRATEGY |
static AttributeDefinition<EvictionStrategy> |
EvictionConfiguration.STRATEGY
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
EvictionStrategy |
MemoryConfigurationBuilder.evictionStrategy()
The configured eviction strategy, please see
MemoryConfigurationBuilder.evictionStrategy(EvictionStrategy) . |
EvictionStrategy |
MemoryConfiguration.evictionStrategy()
The configured eviction strategy
|
EvictionStrategy |
EvictionConfiguration.strategy()
Deprecated.
use
MemoryConfiguration.evictionType() instead |
Modifier and Type | Method and Description |
---|---|
MemoryConfigurationBuilder |
MemoryConfigurationBuilder.evictionStrategy(EvictionStrategy strategy)
Sets the eviction strategy which can be:
NONE - no eviction will take place
MANUAL - no eviction will take place automatically, but user is assumed to manually call evict
REMOVE - eviction will remove entries to make room for new entries to be inserted
EXCEPTION - eviction will not take place, but instead an exception will be thrown to ensure container doesn't grow too large
The eviction strategy NONE and MANUAL are essentially the same except that MANUAL does not warn the user
when passivation is enabled.
|
EvictionConfigurationBuilder |
EvictionConfigurationBuilder.strategy(EvictionStrategy evictionStrategy)
Deprecated.
Eviction strategy.
|
Modifier and Type | Method and Description |
---|---|
static EvictionStrategy |
EvictionStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EvictionStrategy[] |
EvictionStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2019 JBoss, a division of Red Hat. All rights reserved.