Package org.elasticsearch.cluster
Class ClusterName
- java.lang.Object
-
- org.elasticsearch.cluster.ClusterName
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
-
Field Summary
Fields Modifier and Type Field Description static Setting<ClusterName>
CLUSTER_NAME_SETTING
static ClusterName
DEFAULT
-
Constructor Summary
Constructors Constructor Description ClusterName(java.lang.String value)
ClusterName(StreamInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
toString()
java.lang.String
value()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.
-
-
-
Field Detail
-
CLUSTER_NAME_SETTING
public static final Setting<ClusterName> CLUSTER_NAME_SETTING
-
DEFAULT
public static final ClusterName DEFAULT
-
-
Constructor Detail
-
ClusterName
public ClusterName(StreamInput input) throws java.io.IOException
- Throws:
java.io.IOException
-
ClusterName
public ClusterName(java.lang.String value)
-
-
Method Detail
-
value
public java.lang.String value()
-
writeTo
public void writeTo(StreamOutput out) throws java.io.IOException
Description copied from interface:Writeable
Write this into the StreamOutput.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-