public static enum ExpiryStrategy.ExpiryPressure extends Enum<ExpiryStrategy.ExpiryPressure>
The cache can estimate if an expiry call is urgent or not. Thus, it needs to be executed by any means or can be skipped.
Enum Constant and Description |
---|
OPTIONAL_EXPIRE
Indicates that an expiry process is optional.
|
REQUIRED_EXPIRE
Indicates that an expiry process is required.
|
Modifier and Type | Method and Description |
---|---|
static ExpiryStrategy.ExpiryPressure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExpiryStrategy.ExpiryPressure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExpiryStrategy.ExpiryPressure OPTIONAL_EXPIRE
public static final ExpiryStrategy.ExpiryPressure REQUIRED_EXPIRE
public static ExpiryStrategy.ExpiryPressure[] values()
for (ExpiryStrategy.ExpiryPressure c : ExpiryStrategy.ExpiryPressure.values()) System.out.println(c);
public static ExpiryStrategy.ExpiryPressure valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2024 levigo holding gmbh. All rights reserved.