src/main/java/io/axoniq/axonserver/connector/AxonServerConnectionFactory.java
/**
         * Sets the time without read activity before sending a keepalive ping. An unreasonably small value might be
         * increased, and Long.MAX_VALUE nano seconds or an unreasonably large value will disable keepalive. Defaults to
         * infinite.
         * <p>
         * If no read activity is recorded within the given timeout after sending a keepalive ping, the connection is
         * considered dead.
         * <p>
         * Clients must receive permission from the service owner before enabling this option. Keepalives can increase
         * the load on services and are commonly "invisible" making it hard to notice when they are causing excessive
         * load. Clients are strongly encouraged to use only as small of a value as necessary.
         *
         * @param interval time without read activity before sending a keepalive ping
         * @param timeout  the time waiting for read activity after sending a keepalive ping
         * @param timeUnit the unit in which the interval and timeout are expressed
         *
         * @return this builder for further configuration
         */
Sets the time without read activity before sending a keepalive ping. An unreasonably small value might be
increased, and Long.MAX_VALUE nano seconds or an unreasonably large value will disable keepalive. Defaults to
infinite.

If no read activity is recorded within the given timeout after sending a keepalive ping, the connection is
considered dead.

Clients must receive permission from the service owner before enabling this option. Keepalives can increase
the load on services and are commonly "invisible" making it hard to notice when they are causing excessive
load. Clients are strongly encouraged to use only as small of a value as necessary.

@param interval time without read activity before sending a keepalive ping
@param timeout  the time waiting for read activity after sending a keepalive ping
@param timeUnit the unit in which the interval and timeout are expressed

@return this builder for further configuration
Sets the time without read activity before sending a keepalive ping . An unreasonably small value might be increased and Long . MAX_VALUE nano seconds or an unreasonably large value will disable keepalive . Defaults to infinite . If no read activity is recorded within the given timeout after sending a keepalive ping the connection is considered dead . Clients must receive permission from the service owner before enabling this option . Keepalives can increase the load on services and are commonly " invisible " making it hard to notice when they are causing excessive load . Clients are strongly encouraged to use only as small of a value as necessary . @param interval time without read activity before sending a keepalive ping @param timeout the time waiting for read activity after sending a keepalive ping @param timeUnit the unit in which the interval and timeout are expressed @return this builder for further configuration
public Builder usingKeepAlive(long interval, long timeout, TimeUnit timeUnit, boolean keepAliveWithoutCalls) {
            keepAliveConfig = cb -> cb.keepAliveTime(interval, timeUnit)
                                      .keepAliveTimeout(timeout, timeUnit)
                                      .keepAliveWithoutCalls(keepAliveWithoutCalls);
            return this;
        }
public Builder usingKeepAlive ( long interval , long timeout , TimeUnit timeUnit , boolean keepAliveWithoutCalls ) { keepAliveConfig = cb -> cb . keepAliveTime ( interval , timeUnit ) . keepAliveTimeout ( timeout , timeUnit ) . keepAliveWithoutCalls ( keepAliveWithoutCalls ) ; return this ; }
Sets the time without read activity before sending a keepalive ping.
Sets the time without read activity before sending a keepalive ping .