Class DriverManagerConnectionProviderImpl.PooledConnections
- java.lang.Object
-
- org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.PooledConnections
-
- Enclosing class:
- DriverManagerConnectionProviderImpl
public static class DriverManagerConnectionProviderImpl.PooledConnections extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DriverManagerConnectionProviderImpl.PooledConnections.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Connection conn)
protected void
addConnections(int numberOfConnections)
void
close()
protected void
closeConnection(Connection conn, Throwable t)
String
getUrl()
Connection
poll()
protected Connection
prepareConnection(Connection conn)
protected Connection
releaseConnection(Connection conn)
void
releasePooledConnections()
protected void
removeConnections(int numberToBeRemoved)
int
size()
void
validate()
-
-
-
Method Detail
-
validate
public void validate()
-
add
public void add(Connection conn) throws SQLException
- Throws:
SQLException
-
releaseConnection
protected Connection releaseConnection(Connection conn)
-
poll
public Connection poll() throws SQLException
- Throws:
SQLException
-
prepareConnection
protected Connection prepareConnection(Connection conn)
-
closeConnection
protected void closeConnection(Connection conn, Throwable t)
-
close
public void close() throws SQLException
- Throws:
SQLException
-
size
public int size()
-
removeConnections
protected void removeConnections(int numberToBeRemoved)
-
addConnections
protected void addConnections(int numberOfConnections)
-
getUrl
public String getUrl()
-
releasePooledConnections
@Internal public void releasePooledConnections()
-
-