Class ClientIcmpPingConfig

  • public class ClientIcmpPingConfig
    extends java.lang.Object
    Configuration for icmp ping failure detector of clients. ICMP ping is used to detect if machine that a remote hazelcast member runs on alive or not ICMP Ping detector will attempt maxAttempts times, one every intervalMilliseconds. and will wait up-to timeoutMilliseconds. for each to complete. In each attempt icmp will go through maximum ttl hops. If, after maxAttempts. are made , there was no successful ping, the member will get suspected.
    • Constructor Detail

      • ClientIcmpPingConfig

        public ClientIcmpPingConfig()
    • Method Detail

      • getTimeoutMilliseconds

        public int getTimeoutMilliseconds()
      • setTimeoutMilliseconds

        public ClientIcmpPingConfig setTimeoutMilliseconds​(int timeoutMilliseconds)
      • getIntervalMilliseconds

        public int getIntervalMilliseconds()
      • setIntervalMilliseconds

        public ClientIcmpPingConfig setIntervalMilliseconds​(int intervalMilliseconds)
      • isEchoFailFastOnStartup

        public boolean isEchoFailFastOnStartup()
      • setEchoFailFastOnStartup

        public ClientIcmpPingConfig setEchoFailFastOnStartup​(boolean echoFailFastOnStartup)
      • getTtl

        public int getTtl()
      • getMaxAttempts

        public int getMaxAttempts()
      • isEnabled

        public boolean isEnabled()
      • equals

        public boolean equals​(java.lang.Object o)
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object