setFirstRetryMaxDelay method
- int newVal
Setter method that sets the maximum time to wait before trying a new connection to the Server in case the previous one is unexpectedly closed while correctly working.
The new connection may be either the opening of a new session or an attempt to recovery
the current session, depending on the kind of interruption.
The actual delay is a randomized value between 0 and this value.
This randomization might help avoid a load spike on the cluster due to simultaneous reconnections, should one of
the active servers be stopped. Note that this delay is only applied before the first reconnection: should such
reconnection fail, only the setting of setRetryDelay will be applied.
Default 100 (0.1 seconds)
Lifecycle This value can be set and changed at any time.
Notification A change to this setting will be notified through a call to ClientListener.onPropertyChange with argument "firstRetryMaxDelay" on any ClientListener listening to the related LightstreamerClient.
newVal
The max time (in milliseconds) to wait before trying a new connection.
Throws IllegalArgumentException if a negative or zero value is configured
Implementation
external void setFirstRetryMaxDelay(int newVal);