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
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionCopyright © 2009–2016. All rights reserved.