Package | Description |
---|---|
org.infinispan.configuration.cache |
Cache configuration |
org.infinispan.eviction |
Classes related to eviction.
|
Modifier and Type | Field and Description |
---|---|
static AttributeDefinition<EvictionType> |
EvictionConfiguration.TYPE |
Modifier and Type | Method and Description |
---|---|
EvictionType |
EvictionConfiguration.type() |
Modifier and Type | Method and Description |
---|---|
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
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 © 2018 JBoss, a division of Red Hat. All rights reserved.