Package | Description |
---|---|
org.springframework.data.gemfire.config.annotation | |
org.springframework.data.gemfire.eviction |
Modifier and Type | Method and Description |
---|---|
protected static EvictionConfiguration.EvictionPolicyMetaData |
EvictionConfiguration.EvictionPolicyMetaData.from(EvictionPolicyType type,
int maximum,
EvictionActionType action,
org.apache.geode.cache.util.ObjectSizer objectSizer,
String... regionNames) |
protected static Integer |
EvictionConfiguration.EvictionPolicyMetaData.resolveThreshold(int maximum,
EvictionPolicyType type)
Resolves the Eviction policy threshold (a.k.a. maximum) based on the
EvictionPolicyType . |
Modifier and Type | Method and Description |
---|---|
EvictionPolicyType |
EvictionPolicyConverter.convert(String source)
Converts the given String into a matching EvictionType.
|
EvictionPolicyType |
EvictionAttributesFactoryBean.getType()
Gets the eviction policy and algorithm used by the Region.
|
static EvictionPolicyType |
EvictionPolicyType.valueOf(org.apache.geode.cache.EvictionAlgorithm evictionAlgorithm)
Returns an EvictionPolicyType enumerated value matching the given GemFire EvictionAlgorithm.
|
static EvictionPolicyType |
EvictionPolicyType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EvictionPolicyType |
EvictionPolicyType.valueOfIgnoreCase(String name)
Returns an EvictionPolicyType enumerated value given the case-insensitive, named eviction policy.
|
static EvictionPolicyType[] |
EvictionPolicyType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.geode.cache.EvictionAlgorithm |
EvictionPolicyType.getEvictionAlgorithm(EvictionPolicyType evictionPolicyType)
A null-safe operation to extract the GemFire EvictionAlgorithm from the given EvictionPolicyType.
|
void |
EvictionAttributesFactoryBean.setType(EvictionPolicyType type)
Sets the type of eviction policy and algorithm (e.g.
|
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.