Hook.CloseConnection, Hook.DestroyConnection, Hook.GetConnection, Hook.GetConnectionTimeout, Hook.InitConnection, Hook.MethodInvocation, Hook.ResultSetRetrieval, Hook.StatementExecution, Hook.StatementProceedingPoint| Modifier and Type | Method and Description |
|---|---|
void |
on(Connection rawConnection,
long takenNanos)
A programming hook that will be invoked only once after the raw JDBC Connection is closed/destroyed.
|
void on(Connection rawConnection, long takenNanos)
This hook complements the InitConnection hook, which is invoked
after the raw JDBC Connection is first created.
rawConnection - the raw JDBC Connection that was just closedtakenNanos - the time taken to close/destroy this connection in nanosecondsCopyright © 2013-2019 vibur.org. All Rights Reserved.