@InterfaceAudience.Private public enum ReplicationPeerStorageType extends Enum<ReplicationPeerStorageType>
ReplicationPeerStorage.| Enum Constant and Description |
|---|
FILESYSTEM |
ZOOKEEPER |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends ReplicationPeerStorage> |
getClazz() |
static ReplicationPeerStorageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplicationPeerStorageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplicationPeerStorageType FILESYSTEM
public static final ReplicationPeerStorageType ZOOKEEPER
public static ReplicationPeerStorageType[] values()
for (ReplicationPeerStorageType c : ReplicationPeerStorageType.values()) System.out.println(c);
public static ReplicationPeerStorageType 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 Class<? extends ReplicationPeerStorage> getClazz()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.