public class StandardConnectionHook extends java.lang.Object implements DbPoolConnectionHook
Constructor and Description |
---|
StandardConnectionHook(EventBus eventBus) |
Modifier and Type | Method and Description |
---|---|
void |
onAcquire(java.sql.Connection connection) |
void |
onCheckIn(java.sql.Connection connection) |
void |
onCheckOut(java.sql.Connection connection) |
void |
onDestroy(java.sql.Connection connection) |
public StandardConnectionHook(EventBus eventBus)
public void onAcquire(java.sql.Connection connection)
onAcquire
in interface DbPoolConnectionHook
public void onCheckIn(java.sql.Connection connection)
onCheckIn
in interface DbPoolConnectionHook
public void onCheckOut(java.sql.Connection connection)
onCheckOut
in interface DbPoolConnectionHook
public void onDestroy(java.sql.Connection connection)
onDestroy
in interface DbPoolConnectionHook