Package org.elasticsearch.cluster
Class ClusterName
java.lang.Object
org.elasticsearch.cluster.ClusterName
- All Implemented Interfaces:
Writeable
public class ClusterName extends java.lang.Object implements Writeable
-
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)
java.util.function.Predicate<ClusterName>
getEqualityPredicate()
int
hashCode()
java.lang.String
toString()
java.lang.String
value()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
CLUSTER_NAME_SETTING
-
DEFAULT
-
-
Constructor Details
-
ClusterName
- Throws:
java.io.IOException
-
ClusterName
public ClusterName(java.lang.String value)
-
-
Method Details
-
value
public java.lang.String value() -
writeTo
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
-
getEqualityPredicate
-