public static class ConnectionConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ConnectionConfiguration.Builder |
backendTcpProxyProtocolOptions(List<ConnectionConfiguration.BackendTcpProxyProtocolOptions> backendTcpProxyProtocolOptions)
An array that represents the PPV2 Options that can be enabled on TCP Listeners.
|
ConnectionConfiguration.Builder |
backendTcpProxyProtocolVersion(Integer backendTcpProxyProtocolVersion)
The backend TCP Proxy Protocol version.
|
ConnectionConfiguration |
build() |
ConnectionConfiguration.Builder |
copy(ConnectionConfiguration model) |
ConnectionConfiguration.Builder |
idleTimeout(Long idleTimeout)
The maximum idle time, in seconds, allowed between two successive receive or two
successive send operations between the client and backend servers.
|
public ConnectionConfiguration.Builder idleTimeout(Long idleTimeout)
The maximum idle time, in seconds, allowed between two successive receive or two successive send operations between the client and backend servers. A send operation does not reset the timer for receive operations. A receive operation does not reset the timer for send operations.
For more information, see [Connection Configuration](https://docs.cloud.oracle.com/Content/Balance/Reference/connectionreuse.htm#ConnectionConfiguration).
Example: 1200
idleTimeout
- the value to setpublic ConnectionConfiguration.Builder backendTcpProxyProtocolVersion(Integer backendTcpProxyProtocolVersion)
The backend TCP Proxy Protocol version.
Example: 1
backendTcpProxyProtocolVersion
- the value to setpublic ConnectionConfiguration.Builder backendTcpProxyProtocolOptions(List<ConnectionConfiguration.BackendTcpProxyProtocolOptions> backendTcpProxyProtocolOptions)
An array that represents the PPV2 Options that can be enabled on TCP Listeners. Example: [“PP2_TYPE_AUTHORITY”]
backendTcpProxyProtocolOptions
- the value to setpublic ConnectionConfiguration build()
public ConnectionConfiguration.Builder copy(ConnectionConfiguration model)
Copyright © 2016–2024. All rights reserved.