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