org.elasticsearch.cluster
Class ClusterName

java.lang.Object
  extended by org.elasticsearch.cluster.ClusterName
All Implemented Interfaces:
Streamable

public class ClusterName
extends Object
implements Streamable


Field Summary
static ClusterName DEFAULT
           
static String SETTING
           
 
Constructor Summary
ClusterName(String value)
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SETTING

public static final String SETTING
See Also:
Constant Field Values

DEFAULT

public static final ClusterName DEFAULT
Constructor Detail

ClusterName

public ClusterName(String value)
Method Detail

clusterNameFromSettings

public static ClusterName clusterNameFromSettings(Settings settings)

value

public String value()

readClusterName

public static ClusterName readClusterName(StreamInput in)
                                   throws IOException
Throws:
IOException

readFrom

public void readFrom(StreamInput in)
              throws IOException
Specified by:
readFrom in interface Streamable
Throws:
IOException

writeTo

public void writeTo(StreamOutput out)
             throws IOException
Specified by:
writeTo in interface Streamable
Throws:
IOException

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012. All Rights Reserved.