ConnectionRetryDelay
- Last Updated: May 13, 2025
- 1 minute read
- DataDirect Connectors
- JDBC
- Documentation
Purpose
Specifies the number of seconds the driver waits between connection retry attempts when ConnectionRetryCount is set to a positive integer.
Valid Values
0 | x
where:
- x
- is a number of seconds.
Behavior
If
set to 0, the driver does not delay between retries.
If set to x, the driver waits between connection retry attempts the specified number of seconds.
Example
If ConnectionRetryCount is set to 2 and
this property is set to 3, the driver retries the single
leader node (as specified by ServerName and PortNumber) twice after the initial retry
attempt. The driver waits 3 seconds between retry attempts.
Data Source Method
setConnectionRetryDelay
Default
1 (second)
Data Type
int