KeepAlive
- Last Updated: May 30, 2024
- 1 minute read
- DataDirect Connectors
- JDBC
- Documentation
Purpose
Specifies whether the driver enables KeepAlive. KeepAlive maintains idle TCP connections by periodically passing packets between the client and server. If either the client or server does not respond to a packet, the connection is considered inactive and is terminated. In addition, KeepAlive prevents valid idle connections from being disconnected by firewalls and proxies by maintaining network activity.
Valid Values
true | false
Behavior
If set to true, the driver enables
KeepAlive.
If set to false, the driver does not
enable KeepAlive.
Data Source Methods
public Boolean getKeepAlive()
public void setKeepAlive(Boolean)
Default
false
Data Type
Boolean