public class PooledConnections
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PooledConnections.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.sql.Connection conn) |
protected void |
addConnections(int numberOfConnections) |
void |
close() |
java.sql.Connection |
poll() |
protected void |
removeConnections(int numberToBeRemoved) |
int |
size() |
void |
validate() |
public void validate()
public void add(java.sql.Connection conn)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Connection poll()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void close()
throws java.sql.SQLException
java.sql.SQLExceptionpublic int size()
protected void removeConnections(int numberToBeRemoved)
protected void addConnections(int numberOfConnections)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.