Package org.apache.storm.nimbus
Class NimbusInfo
java.lang.Object
org.apache.storm.nimbus.NimbusInfo
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNimbusInfo(String host, int port, boolean isLeader) NimbusInfo(String host, int port, int tlsPort, boolean isLeader) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic NimbusInfogetHost()intgetPort()intinthashCode()booleanisLeader()static NimbusInfovoidsetLeader(boolean isLeader) toString()
-
Constructor Details
-
NimbusInfo
-
NimbusInfo
-
-
Method Details
-
parse
-
fromConf
-
toHostPortString
-
isLeader
public boolean isLeader() -
setLeader
public void setLeader(boolean isLeader) -
getPort
public int getPort() -
getTlsPort
public int getTlsPort() -
getHost
-
equals
-
hashCode
public int hashCode() -
toString
-