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