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<String,Object> 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<String,Object> conf)
public String toHostPortString()
public boolean isLeader()
public void setLeader(boolean isLeader)
public int getPort()
public String getHost()
Copyright © 2019 The Apache Software Foundation. All rights reserved.