public class ClusterName extends java.lang.Object implements Streamable
Modifier and Type | Field and Description |
---|---|
static Setting<java.lang.String> |
CLUSTER_NAME_SETTING |
static ClusterName |
DEFAULT |
Constructor and Description |
---|
ClusterName(java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
static ClusterName |
clusterNameFromSettings(Settings settings) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
static ClusterName |
readClusterName(StreamInput in) |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
java.lang.String |
toString() |
java.lang.String |
value() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
public static final Setting<java.lang.String> CLUSTER_NAME_SETTING
public static final ClusterName DEFAULT
public static ClusterName clusterNameFromSettings(Settings settings)
public java.lang.String value()
public static ClusterName readClusterName(StreamInput in) throws java.io.IOException
java.io.IOException
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
java.io.IOException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object