public class NimbusInfo extends Object implements Serializable
Constructor and Description |
---|
NimbusInfo(String host,
int port,
boolean isLeader) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static NimbusInfo |
fromConf(Map conf) |
String |
getHost() |
int |
getPort() |
int |
hashCode() |
boolean |
isLeader() |
static NimbusInfo |
parse(String nimbusInfo) |
void |
setLeader(boolean isLeader) |
String |
toHostPortString() |
String |
toString() |
public NimbusInfo(String host, int port, boolean isLeader)
public static NimbusInfo parse(String nimbusInfo)
public static NimbusInfo fromConf(Map conf)
public String toHostPortString()
public boolean isLeader()
public int getPort()
public String getHost()
public void setLeader(boolean isLeader)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.