Redis@Deprecated public enum ShutdownOptions extends Enum<ShutdownOptions>
| Enum Constant and Description | 
|---|
NONE
Deprecated.  
  | 
NOSAVE
Deprecated.  
  | 
SAVE
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
JsonArray | 
toJsonArray()
Deprecated.  
  | 
static ShutdownOptions | 
valueOf(String name)
Deprecated.  
Returns the enum constant of this type with the specified name. 
 | 
static ShutdownOptions[] | 
values()
Deprecated.  
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ShutdownOptions NONE
public static final ShutdownOptions SAVE
public static final ShutdownOptions NOSAVE
public static ShutdownOptions[] values()
for (ShutdownOptions c : ShutdownOptions.values()) System.out.println(c);
public static ShutdownOptions 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 nullpublic JsonArray toJsonArray()
Copyright © 2020 Eclipse. All rights reserved.