Client Settings. set Keep Alive Interval(Duration keepAliveInterval) 方法
Sets the interval at which the FabricClient will ping the connected endpoint.
Remarks:The default value of this property is 0 seconds. This property can't be updated after the FabricClient is opened. Setting this property will throw a java.lang.IllegalArgumentException exception. FabricClient will continue pinging as long as it has pending operations.
public void setKeepAliveInterval(Duration keepAliveInterval)
The interval at which the FabricClient will ping the connected endpoint.