Uses of Class
com.hazelcast.config.IcmpFailureDetectorConfig
Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
-
Uses of IcmpFailureDetectorConfig in com.hazelcast.config
Methods in com.hazelcast.config that return IcmpFailureDetectorConfig Modifier and Type Method Description IcmpFailureDetectorConfig
AdvancedNetworkConfig. getIcmpFailureDetectorConfig()
Returns the currentIcmpFailureDetectorConfig
.IcmpFailureDetectorConfig
AdvancedNetworkConfig.MemberNetworkingView. getIcmpFailureDetectorConfig()
IcmpFailureDetectorConfig
NetworkConfig. getIcmpFailureDetectorConfig()
Returns the currentIcmpFailureDetectorConfig
.IcmpFailureDetectorConfig
IcmpFailureDetectorConfig. setEnabled(boolean enabled)
Set whether the ICMP failure detector should be enabled or not.IcmpFailureDetectorConfig
IcmpFailureDetectorConfig. setFailFastOnStartup(boolean failFastOnStartup)
Sets whether the member should fail-fast on startup if ICMP is not allowed by the underlying OS.IcmpFailureDetectorConfig
IcmpFailureDetectorConfig. setIntervalMilliseconds(int intervalMilliseconds)
Sets the time in milliseconds between each ping This value can not be smaller than 1000 millisecondsIcmpFailureDetectorConfig
IcmpFailureDetectorConfig. setMaxAttempts(int maxAttempts)
Set the max ping attempts before suspecting a memberIcmpFailureDetectorConfig
IcmpFailureDetectorConfig. setParallelMode(boolean mode)
Set the ICMP detector to run in parallel mode, independent from the other failure detectors.IcmpFailureDetectorConfig
IcmpFailureDetectorConfig. setTimeoutMilliseconds(int timeoutMilliseconds)
Sets the timeout in Milliseconds before declaring a failed ping This cannot be more than the interval value.IcmpFailureDetectorConfig
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 IcmpFailureDetectorConfig Modifier and Type Method Description NetworkConfig
AdvancedNetworkConfig.MemberNetworkingView. setIcmpFailureDetectorConfig(IcmpFailureDetectorConfig icmpFailureDetectorConfig)
AdvancedNetworkConfig
AdvancedNetworkConfig. setIcmpFailureDetectorConfig(IcmpFailureDetectorConfig icmpFailureDetectorConfig)
Sets theIcmpFailureDetectorConfig
.NetworkConfig
NetworkConfig. setIcmpFailureDetectorConfig(IcmpFailureDetectorConfig icmpFailureDetectorConfig)
Sets theIcmpFailureDetectorConfig
.