@InterfaceAudience.Private public enum CatalogReplicaMode extends Enum<CatalogReplicaMode>
There are two modes with catalog replica support.
Enum Constant and Description |
---|
HEDGED_READ |
LOAD_BALANCE |
NONE |
Modifier and Type | Method and Description |
---|---|
static CatalogReplicaMode |
fromString(String value) |
static CatalogReplicaMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CatalogReplicaMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CatalogReplicaMode NONE
public static final CatalogReplicaMode HEDGED_READ
public static final CatalogReplicaMode LOAD_BALANCE
public static CatalogReplicaMode[] values()
for (CatalogReplicaMode c : CatalogReplicaMode.values()) System.out.println(c);
public static CatalogReplicaMode 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 static CatalogReplicaMode fromString(String value)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.