ConnectionRetryDelay
- Last Updated: July 15, 2022
- 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, ConnectionRetryDelay is set to
3, and alternate servers are specified using the AlternateServers
property, the driver retries the list of servers (primary and alternate) twice after the
initial retry attempt. The driver waits 3 seconds between retry attempts.
Data Source Methods
public Integer
getConnectionRetryDelay()
public void
setConnectionRetryDelay(Integer)
Default
1 (second)
Data Type
int