Package | Description |
---|---|
org.infinispan.configuration.cache |
Cache configuration |
org.infinispan.eviction |
Classes related to eviction.
|
Modifier and Type | Field and Description |
---|---|
static AttributeDefinition<EvictionType> |
MemoryConfiguration.EVICTION_TYPE |
static AttributeDefinition<EvictionType> |
EvictionConfiguration.TYPE
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
EvictionType |
MemoryConfiguration.evictionType()
The configured eviction type
|
EvictionType |
EvictionConfiguration.type()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
MemoryConfigurationBuilder |
MemoryConfigurationBuilder.evictionType(EvictionType type)
Sets the eviction type which can either be
COUNT - entries will be evicted when the number of entries exceeds the
MemoryConfigurationBuilder.size(long)
MEMORY - entries will be evicted when the approximate combined size of all values exceeds the MemoryConfigurationBuilder.size(long)
Cache size is guaranteed not to exceed upper
limit specified by max entries. |
EvictionConfigurationBuilder |
EvictionConfigurationBuilder.type(EvictionType type)
Deprecated.
Sets the eviction type which can either be
COUNT - entries will be evicted when the number of entries exceeds the
EvictionConfigurationBuilder.size(long)
MEMORY - entries will be evicted when the approximate combined size of all values exceeds the EvictionConfigurationBuilder.size(long)
Cache size is guaranteed not to exceed upper
limit specified by max entries. |
Modifier and Type | Method and Description |
---|---|
static EvictionType |
EvictionType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EvictionType[] |
EvictionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.