public enum DurabilityLevel extends Enum<DurabilityLevel>
| Enum Constant and Description | 
|---|
DEFAULT
Use value from server's config file. 
 | 
MAX
Number of instances in the cluster. 
 | 
MIN
Also known as one. 
 | 
QUORUM
the next integer greater than half the number of instances. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static DurabilityLevel | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static DurabilityLevel[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final DurabilityLevel MIN
public static final DurabilityLevel MAX
public static final DurabilityLevel QUORUM
public static final DurabilityLevel DEFAULT
public static DurabilityLevel[] values()
for (DurabilityLevel c : DurabilityLevel.values()) System.out.println(c);
public static DurabilityLevel 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 Franz Inc.. All rights reserved.