public enum RepairParallelism extends java.lang.Enum<RepairParallelism>
| Enum Constant and Description | 
|---|
| DATACENTER_AWAREOne node per data center at a time | 
| PARALLELAll nodes at the same time | 
| SEQUENTIALOne node at a time | 
| Modifier and Type | Method and Description | 
|---|---|
| static RepairParallelism | fromName(java.lang.String name)Return RepairParallelism that match given name. | 
| java.lang.String | getName() | 
| java.lang.String | toString() | 
| static RepairParallelism | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static RepairParallelism[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final RepairParallelism SEQUENTIAL
public static final RepairParallelism PARALLEL
public static final RepairParallelism DATACENTER_AWARE
public static RepairParallelism[] values()
for (RepairParallelism c : RepairParallelism.values()) System.out.println(c);
public static RepairParallelism valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static RepairParallelism fromName(java.lang.String name)
name - name of repair parallelismpublic java.lang.String getName()
public java.lang.String toString()
toString in class java.lang.Enum<RepairParallelism>Copyright © 2018 The Apache Software Foundation