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