public static enum RefreshCachedSupplier.StaleValueBehavior extends Enum<RefreshCachedSupplier.StaleValueBehavior>
| Enum Constant and Description |
|---|
ALLOW
Allow stale values to be returned from the cache.
|
STRICT
Strictly treat the stale time.
|
| Modifier and Type | Method and Description |
|---|---|
static RefreshCachedSupplier.StaleValueBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RefreshCachedSupplier.StaleValueBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RefreshCachedSupplier.StaleValueBehavior STRICT
public static final RefreshCachedSupplier.StaleValueBehavior ALLOW
public static RefreshCachedSupplier.StaleValueBehavior[] values()
for (RefreshCachedSupplier.StaleValueBehavior c : RefreshCachedSupplier.StaleValueBehavior.values()) System.out.println(c);
public static RefreshCachedSupplier.StaleValueBehavior 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 © 2025. All rights reserved.