public class BootstrapDiscoveryConfig extends NodeDiscoveryConfig
| Constructor and Description |
|---|
BootstrapDiscoveryConfig() |
| Modifier and Type | Method and Description |
|---|---|
int |
getFailureThreshold()
Deprecated.
|
java.time.Duration |
getFailureTimeout()
Deprecated.
|
java.time.Duration |
getHeartbeatInterval()
Deprecated.
|
java.util.Collection<NodeConfig> |
getNodes()
Returns the configured bootstrap nodes.
|
NodeDiscoveryProvider.Type |
getType() |
BootstrapDiscoveryConfig |
setFailureThreshold(int failureThreshold)
Deprecated.
|
BootstrapDiscoveryConfig |
setFailureTimeout(java.time.Duration failureTimeout)
Deprecated.
|
BootstrapDiscoveryConfig |
setHeartbeatInterval(java.time.Duration heartbeatInterval)
Deprecated.
|
BootstrapDiscoveryConfig |
setNodes(java.util.Collection<NodeConfig> nodes)
Sets the bootstrap nodes.
|
public NodeDiscoveryProvider.Type getType()
public java.util.Collection<NodeConfig> getNodes()
public BootstrapDiscoveryConfig setNodes(java.util.Collection<NodeConfig> nodes)
nodes - the bootstrap nodes@Deprecated public java.time.Duration getHeartbeatInterval()
@Deprecated public BootstrapDiscoveryConfig setHeartbeatInterval(java.time.Duration heartbeatInterval)
heartbeatInterval - the heartbeat interval@Deprecated public int getFailureThreshold()
@Deprecated public BootstrapDiscoveryConfig setFailureThreshold(int failureThreshold)
failureThreshold - the failure detector threshold@Deprecated public java.time.Duration getFailureTimeout()
@Deprecated public BootstrapDiscoveryConfig setFailureTimeout(java.time.Duration failureTimeout)
failureTimeout - the base failure timeoutCopyright © 2013-2019. All Rights Reserved.