public static enum RedisServerCommands.FlushOption extends Enum<RedisServerCommands.FlushOption>
Modifier and Type | Method and Description |
---|---|
static RedisServerCommands.FlushOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedisServerCommands.FlushOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedisServerCommands.FlushOption SYNC
public static final RedisServerCommands.FlushOption ASYNC
public static RedisServerCommands.FlushOption[] values()
for (RedisServerCommands.FlushOption c : RedisServerCommands.FlushOption.values()) System.out.println(c);
public static RedisServerCommands.FlushOption 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 © 2011–2023 Pivotal Software, Inc.. All rights reserved.