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_SETTINGstatic ClusterNameDEFAULT
-
Constructor Summary
Constructors Constructor Description ClusterName(java.lang.String value)ClusterName(StreamInput input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()java.lang.Stringvalue()voidwriteTo(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:WriteableWrite this into the StreamOutput.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-