Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Method and Description |
---|---|
IcmpFailureDetectorConfig |
NetworkConfig.getIcmpFailureDetectorConfig()
Returns the current
IcmpFailureDetectorConfig . |
IcmpFailureDetectorConfig |
AdvancedNetworkConfig.getIcmpFailureDetectorConfig()
Returns the current
IcmpFailureDetectorConfig . |
IcmpFailureDetectorConfig |
AdvancedNetworkConfig.MemberNetworkingView.getIcmpFailureDetectorConfig() |
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 milliseconds
|
IcmpFailureDetectorConfig |
IcmpFailureDetectorConfig.setMaxAttempts(int maxAttempts)
Set the max ping attempts before suspecting a member
|
IcmpFailureDetectorConfig |
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 therefore
|
Modifier and Type | Method and Description |
---|---|
NetworkConfig |
NetworkConfig.setIcmpFailureDetectorConfig(IcmpFailureDetectorConfig icmpFailureDetectorConfig)
Sets the
IcmpFailureDetectorConfig . |
AdvancedNetworkConfig |
AdvancedNetworkConfig.setIcmpFailureDetectorConfig(IcmpFailureDetectorConfig icmpFailureDetectorConfig)
Sets the
IcmpFailureDetectorConfig . |
NetworkConfig |
AdvancedNetworkConfig.MemberNetworkingView.setIcmpFailureDetectorConfig(IcmpFailureDetectorConfig icmpFailureDetectorConfig) |
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.