public static enum ServerInfo.ReplicaIdentity extends Enum<ServerInfo.ReplicaIdentity>
| Enum Constant and Description |
|---|
DEFAULT |
FULL |
INDEX |
NOTHING |
UNKNOWN |
| Modifier and Type | Field and Description |
|---|---|
private String |
description |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Returns a textual description of the replica identity
|
protected static ServerInfo.ReplicaIdentity |
parseFromDB(String s) |
static ServerInfo.ReplicaIdentity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerInfo.ReplicaIdentity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerInfo.ReplicaIdentity NOTHING
public static final ServerInfo.ReplicaIdentity FULL
public static final ServerInfo.ReplicaIdentity DEFAULT
public static final ServerInfo.ReplicaIdentity INDEX
public static final ServerInfo.ReplicaIdentity UNKNOWN
private String description
public static ServerInfo.ReplicaIdentity[] values()
for (ServerInfo.ReplicaIdentity c : ServerInfo.ReplicaIdentity.values()) System.out.println(c);
public static ServerInfo.ReplicaIdentity 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 String description()
protected static ServerInfo.ReplicaIdentity parseFromDB(String s)
Copyright © 2019 JBoss by Red Hat. All rights reserved.