public class MembershipConfig extends Object implements io.atomix.utils.config.Config
| Constructor and Description |
|---|
MembershipConfig() |
| Modifier and Type | Method and Description |
|---|---|
Duration |
getBroadcastInterval()
Returns the reachability broadcast interval.
|
int |
getReachabilityThreshold()
Returns the reachability failure detection threshold.
|
Duration |
getReachabilityTimeout()
Returns the reachability failure timeout.
|
MembershipConfig |
setBroadcastInterval(Duration broadcastInterval)
Sets the reachability broadcast interval.
|
MembershipConfig |
setReachabilityThreshold(int reachabilityThreshold)
Sets the reachability failure detection threshold.
|
MembershipConfig |
setReachabilityTimeout(Duration reachabilityTimeout)
Sets the reachability failure timeout.
|
public Duration getBroadcastInterval()
public MembershipConfig setBroadcastInterval(Duration broadcastInterval)
broadcastInterval - the reachability broadcast intervalpublic int getReachabilityThreshold()
public MembershipConfig setReachabilityThreshold(int reachabilityThreshold)
reachabilityThreshold - the reachability failure detection thresholdpublic Duration getReachabilityTimeout()
public MembershipConfig setReachabilityTimeout(Duration reachabilityTimeout)
reachabilityTimeout - the reachability failure timeoutCopyright © 2013–2018. All rights reserved.