| Constructor and Description |
|---|
MembershipConfig() |
| Modifier and Type | Method and Description |
|---|---|
java.time.Duration |
getBroadcastInterval()
Returns the reachability broadcast interval.
|
int |
getReachabilityThreshold()
Returns the reachability failure detection threshold.
|
java.time.Duration |
getReachabilityTimeout()
Returns the reachability failure timeout.
|
MembershipConfig |
setBroadcastInterval(java.time.Duration broadcastInterval)
Sets the reachability broadcast interval.
|
MembershipConfig |
setReachabilityThreshold(int reachabilityThreshold)
Sets the reachability failure detection threshold.
|
MembershipConfig |
setReachabilityTimeout(java.time.Duration reachabilityTimeout)
Sets the reachability failure timeout.
|
public java.time.Duration getBroadcastInterval()
public MembershipConfig setBroadcastInterval(java.time.Duration broadcastInterval)
broadcastInterval - the reachability broadcast intervalpublic int getReachabilityThreshold()
public MembershipConfig setReachabilityThreshold(int reachabilityThreshold)
reachabilityThreshold - the reachability failure detection thresholdpublic java.time.Duration getReachabilityTimeout()
public MembershipConfig setReachabilityTimeout(java.time.Duration reachabilityTimeout)
reachabilityTimeout - the reachability failure timeoutCopyright © 2013-2019. All Rights Reserved.