@ConfigurationProperties(value="spring.cloud.etcd.discovery") public class EtcdDiscoveryProperties extends Object
Constructor and Description |
---|
EtcdDiscoveryProperties() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDiscoveryPrefix() |
int |
getHeartbeatInterval() |
String |
getHostname() |
static InetAddress |
getIpAddress() |
static org.apache.commons.logging.Log |
getLog() |
int |
getTtl() |
int |
hashCode() |
boolean |
isEnabled() |
boolean |
isPreferIpAddress() |
void |
setDiscoveryPrefix(String discoveryPrefix) |
void |
setEnabled(boolean enabled) |
void |
setHeartbeatInterval(int heartbeatInterval) |
void |
setHostname(String hostname) |
void |
setIpAddress(String ipAddress) |
void |
setPreferIpAddress(boolean preferIpAddress) |
void |
setTtl(int ttl) |
String |
toString() |
public String getHostname()
public static InetAddress getIpAddress()
public static org.apache.commons.logging.Log getLog()
public boolean isEnabled()
public void setEnabled(boolean enabled)
public String getDiscoveryPrefix()
public void setDiscoveryPrefix(String discoveryPrefix)
public void setIpAddress(String ipAddress)
public void setHostname(String hostname)
public boolean isPreferIpAddress()
public void setPreferIpAddress(boolean preferIpAddress)
public int getTtl()
public void setTtl(int ttl)
public int getHeartbeatInterval()
public void setHeartbeatInterval(int heartbeatInterval)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.