Uses of Class
com.hazelcast.config.IcmpFailureDetectorConfig
Packages that use IcmpFailureDetectorConfig
-
Uses of IcmpFailureDetectorConfig in com.hazelcast.config
Methods in com.hazelcast.config that return IcmpFailureDetectorConfigModifier 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 thereforeMethods in com.hazelcast.config with parameters of type IcmpFailureDetectorConfigModifier and TypeMethodDescriptionAdvancedNetworkConfig.MemberNetworkingView.setIcmpFailureDetectorConfig
(IcmpFailureDetectorConfig icmpFailureDetectorConfig) AdvancedNetworkConfig.setIcmpFailureDetectorConfig
(IcmpFailureDetectorConfig icmpFailureDetectorConfig) Sets theIcmpFailureDetectorConfig
.NetworkConfig.setIcmpFailureDetectorConfig
(IcmpFailureDetectorConfig icmpFailureDetectorConfig) Sets theIcmpFailureDetectorConfig
.