Uses of Class
com.hazelcast.config.IcmpFailureDetectorConfig
-
Uses of IcmpFailureDetectorConfig in com.hazelcast.config
Modifier and TypeMethodDescriptionAdvancedNetworkConfig.getIcmpFailureDetectorConfig()
Returns the currentIcmpFailureDetectorConfig
.AdvancedNetworkConfig.MemberNetworkingView.getIcmpFailureDetectorConfig()
NetworkConfig.getIcmpFailureDetectorConfig()
Returns the currentIcmpFailureDetectorConfig
.IcmpFailureDetectorConfig.setEnabled
(boolean enabled) Set whether the ICMP failure detector should be enabled or not.IcmpFailureDetectorConfig.setFailFastOnStartup
(boolean failFastOnStartup) Sets whether the member should fail-fast on startup if ICMP is not allowed by the underlying OS.IcmpFailureDetectorConfig.setIntervalMilliseconds
(int intervalMilliseconds) Sets the time in milliseconds between each ping This value can not be smaller than 1000 millisecondsIcmpFailureDetectorConfig.setMaxAttempts
(int maxAttempts) Set the max ping attempts before suspecting a memberIcmpFailureDetectorConfig.setParallelMode
(boolean mode) Set the ICMP detector to run in parallel mode, independent from the other failure detectors.IcmpFailureDetectorConfig.setTimeoutMilliseconds
(int timeoutMilliseconds) Sets the timeout in Milliseconds before declaring a failed ping This cannot be more than the interval value.IcmpFailureDetectorConfig.setTtl
(int ttl) Sets the maximum number of times the IP Datagram (ping) can be forwarded, in most cases all Hazelcast cluster members would be within one network switch/router thereforeModifier and TypeMethodDescriptionAdvancedNetworkConfig.MemberNetworkingView.setIcmpFailureDetectorConfig
(IcmpFailureDetectorConfig icmpFailureDetectorConfig) AdvancedNetworkConfig.setIcmpFailureDetectorConfig
(IcmpFailureDetectorConfig icmpFailureDetectorConfig) Sets theIcmpFailureDetectorConfig
.NetworkConfig.setIcmpFailureDetectorConfig
(IcmpFailureDetectorConfig icmpFailureDetectorConfig) Sets theIcmpFailureDetectorConfig
.