public final class HikariPool extends Object implements HikariPoolMBean
Modifier and Type | Method and Description |
---|---|
void |
closeIdleConnections() |
int |
getActiveConnections() |
int |
getIdleConnections() |
int |
getThreadsAwaitingConnection() |
int |
getTotalConnections() |
void |
releaseConnection(com.zaxxer.hikari.proxy.IHikariConnectionProxy connectionProxy)
Release a connection back to the pool, or permanently close it if it
is broken.
|
public void releaseConnection(com.zaxxer.hikari.proxy.IHikariConnectionProxy connectionProxy)
connectionProxy
- the connection to release back to the poolpublic int getActiveConnections()
getActiveConnections
in interface HikariPoolMBean
public int getIdleConnections()
getIdleConnections
in interface HikariPoolMBean
public int getTotalConnections()
getTotalConnections
in interface HikariPoolMBean
public int getThreadsAwaitingConnection()
getThreadsAwaitingConnection
in interface HikariPoolMBean
public void closeIdleConnections()
closeIdleConnections
in interface HikariPoolMBean
Copyright © 2013 Zaxxer.com. All rights reserved.