public enum ReadRepairStrategy extends java.lang.Enum<ReadRepairStrategy> implements ReadRepair.Factory
Modifier and Type | Method and Description |
---|---|
static ReadRepairStrategy |
fromString(java.lang.String s) |
static ReadRepairStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReadRepairStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
create
public static final ReadRepairStrategy NONE
public static final ReadRepairStrategy BLOCKING
public static ReadRepairStrategy[] values()
for (ReadRepairStrategy c : ReadRepairStrategy.values()) System.out.println(c);
public static ReadRepairStrategy 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 ReadRepairStrategy fromString(java.lang.String s)
Copyright © 2009- The Apache Software Foundation