public interface ConnectionTracker
DelegatingConnectionProvider
Modifier and Type | Method and Description |
---|---|
void |
forEach(BiConsumer<Connection,Thread> biConsumer)
Performs an iteration on all currently active connections, and performs the operation
|
int |
getConnectionCount()
Returns count of leased active JDBC connections
|
Connection |
track(Connection connection)
Returns a tracked connection, and keeps a track of it until
Connection.close() is invoked |
int getConnectionCount()
void forEach(BiConsumer<Connection,Thread> biConsumer)
@Nonnull Connection track(@Nonnull Connection connection)
Connection.close()
is invokedconnection
- to be trackedCopyright © 2020 Atlassian. All rights reserved.