public enum RedisFlushMode extends Enum<RedisFlushMode>
| Enum Constant and Description |
|---|
IMMEDIATE
Writes to Redis as soon as possible.
|
ON_SAVE
Only writes to Redis when
a web environment this is typically done as soon as the HTTP response is committed.
|
| Modifier and Type | Method and Description |
|---|---|
static RedisFlushMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedisFlushMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedisFlushMode ON_SAVE
public static final RedisFlushMode IMMEDIATE
public static RedisFlushMode[] values()
for (RedisFlushMode c : RedisFlushMode.values()) System.out.println(c);
public static RedisFlushMode 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 © 2020. All rights reserved.