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() |
Connection |
poll() |
protected void |
removeConnections(int numberToBeRemoved) |
int |
size() |
void |
validate() |
public void validate()
public void add(Connection conn) throws SQLException
SQLException
public Connection poll() throws SQLException
SQLException
public void close() throws SQLException
SQLException
public int size()
protected void removeConnections(int numberToBeRemoved)
protected void addConnections(int numberOfConnections)
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.