public enum ExpirationStrategy extends Enum<ExpirationStrategy>
| Enum Constant and Description |
|---|
NOTIF
Strategy based on expire notifications
|
PUBSUB
Deprecated.
|
ZRANGE
Strategy based on redis ZRANGE
|
| Modifier and Type | Method and Description |
|---|---|
static ExpirationStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExpirationStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final ExpirationStrategy PUBSUB
public static final ExpirationStrategy NOTIF
public static final ExpirationStrategy ZRANGE
public static ExpirationStrategy[] values()
for (ExpirationStrategy c : ExpirationStrategy.values()) System.out.println(c);
public static ExpirationStrategy 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 © 2018 Amadeus s.a.s.. All rights reserved.