Package io.hekate.cluster.health
Interface DefaultFailureDetectorJmx
-
@MXBean @JmxTypeName("DefaultFailureDetector") public interface DefaultFailureDetectorJmx
JMX interface forDefaultFailureDetector
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getFailureDetectionQuorum()
Returns the value ofDefaultFailureDetectorConfig.setFailureDetectionQuorum(int)
.long
getHeartbeatInterval()
Returns the value ofDefaultFailureDetectorConfig.setHeartbeatInterval(long)
.int
getHeartbeatLossThreshold()
Returns the value ofDefaultFailureDetectorConfig.setHeartbeatLossThreshold(int)
.List<String>
getMonitoredAddresses()
Returns the value ofDefaultFailureDetector.monitored()
as a list ofstrings
.
-
-
-
Method Detail
-
getHeartbeatInterval
long getHeartbeatInterval()
Returns the value ofDefaultFailureDetectorConfig.setHeartbeatInterval(long)
.- Returns:
- Value of
DefaultFailureDetectorConfig.setHeartbeatInterval(long)
.
-
getHeartbeatLossThreshold
int getHeartbeatLossThreshold()
Returns the value ofDefaultFailureDetectorConfig.setHeartbeatLossThreshold(int)
.- Returns:
- Value of
DefaultFailureDetectorConfig.setHeartbeatLossThreshold(int)
-
getFailureDetectionQuorum
int getFailureDetectionQuorum()
Returns the value ofDefaultFailureDetectorConfig.setFailureDetectionQuorum(int)
.- Returns:
- Value of
DefaultFailureDetectorConfig.setFailureDetectionQuorum(int)
-
getMonitoredAddresses
List<String> getMonitoredAddresses()
Returns the value ofDefaultFailureDetector.monitored()
as a list ofstrings
.- Returns:
- Value of
DefaultFailureDetector.monitored()
as a list ofstrings
. - See Also:
ClusterAddress.toString()
-
-