maxOpenConnections property

int maxOpenConnections
final

Maximum number of connection that can be open at a time.

Set to -1 to have no limit on number of connections.

If it is set to positive number and the connection limit is reached, then the oldest connection is closed and removed.

Defaults to -1.

Implementation

final int maxOpenConnections;