public class ClusterName extends Object implements Streamable
Modifier and Type | Field and Description |
---|---|
static ClusterName |
DEFAULT |
static String |
SETTING |
Constructor and Description |
---|
ClusterName(String value) |
Modifier and Type | Method and Description |
---|---|
static ClusterName |
clusterNameFromSettings(Settings settings) |
boolean |
equals(Object o) |
int |
hashCode() |
static ClusterName |
readClusterName(StreamInput in) |
void |
readFrom(StreamInput in) |
String |
toString() |
String |
value() |
void |
writeTo(StreamOutput out) |
public static final String SETTING
public static final ClusterName DEFAULT
public ClusterName(String value)
public static ClusterName clusterNameFromSettings(Settings settings)
public String value()
public static ClusterName readClusterName(StreamInput in) throws IOException
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
Copyright © 2009–2017. All rights reserved.