Package org.apache.storm.nimbus
Class NimbusInfo
java.lang.Object
org.apache.storm.nimbus.NimbusInfo
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionNimbusInfo
(String host, int port, boolean isLeader) NimbusInfo
(String host, int port, int tlsPort, boolean isLeader) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static NimbusInfo
getHost()
int
getPort()
int
int
hashCode()
boolean
isLeader()
static NimbusInfo
void
setLeader
(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
-