public enum NodeRole extends Enum<NodeRole>
| Enum Constant and Description |
|---|
COORDINATING_ONLY |
DATA |
DATA_COLD |
DATA_CONTENT |
DATA_HOT |
DATA_WARM |
FROZEN |
INGEST |
MACHINE_LEARNING |
MASTER_ELIGIBLE |
REMOTE_CLUSTER_CLIENT |
TRANSFORM |
VOTING_ONLY |
| Modifier and Type | Method and Description |
|---|---|
int |
getSymbol() |
boolean |
holdsData() |
static EnumSet<NodeRole> |
parseSymbolString(String symbols) |
static NodeRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeRole COORDINATING_ONLY
public static final NodeRole DATA
public static final NodeRole DATA_COLD
public static final NodeRole DATA_CONTENT
public static final NodeRole DATA_HOT
public static final NodeRole DATA_WARM
public static final NodeRole FROZEN
public static final NodeRole INGEST
public static final NodeRole MACHINE_LEARNING
public static final NodeRole MASTER_ELIGIBLE
public static final NodeRole REMOTE_CLUSTER_CLIENT
public static final NodeRole TRANSFORM
public static final NodeRole VOTING_ONLY
public static NodeRole[] values()
for (NodeRole c : NodeRole.values()) System.out.println(c);
public static NodeRole 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 int getSymbol()
public boolean holdsData()
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.