public class DnsDiscoveryConfig extends NodeDiscoveryConfig
| Constructor and Description |
|---|
DnsDiscoveryConfig() |
| Modifier and Type | Method and Description |
|---|---|
java.time.Duration |
getResolutionInterval()
Returns the DNS resolution interval.
|
java.lang.String |
getService()
Returns the discovery service.
|
NodeDiscoveryProvider.Type |
getType() |
DnsDiscoveryConfig |
setResolutionInterval(java.time.Duration resolutionInterval)
Sets the DNS resolution interval.
|
DnsDiscoveryConfig |
setService(java.lang.String service)
Sets the DNS service name.
|
public NodeDiscoveryProvider.Type getType()
public java.lang.String getService()
public DnsDiscoveryConfig setService(java.lang.String service)
service - the DNS service namepublic java.time.Duration getResolutionInterval()
public DnsDiscoveryConfig setResolutionInterval(java.time.Duration resolutionInterval)
resolutionInterval - the DNS resolution intervalCopyright © 2013-2019. All Rights Reserved.