getReceiveCounter

Returns a counter which gets incremented as data is read from the transport.
It should only be used to determine if there is progress being made in reading the next command from the transport.
The value may wrap into the negative numbers.

getWarnAfterReconnectAttempts

setWarnAfterReconnectAttempts

Sets the number of Connect / Reconnect attempts that must occur before a warn message
is logged indicating that the transport is not connected. This can be useful when the
client is running inside some container or service as it give an indication of some
problem with the client connection that might not otherwise be visible. To disable the
log messages this value should be set to a value @{code attempts <= 0}

Parameters:

warnAfterReconnectAttempts - The number of failed connection attempts that must happen before a warning is logged.