Package | Description |
---|---|
com.p6spy.engine.common | |
com.p6spy.engine.event | |
com.p6spy.engine.logging | |
com.p6spy.engine.outage | |
com.p6spy.engine.spy | |
com.p6spy.engine.wrapper |
Modifier and Type | Method and Description |
---|---|
static ConnectionInformation |
ConnectionInformation.fromDataSource(CommonDataSource dataSource,
Connection connection,
long timeToGetConnectionNs)
Creates a new
ConnectionInformation instance for a Connection which has been obtained via a
CommonDataSource |
static ConnectionInformation |
ConnectionInformation.fromDriver(Driver driver,
Connection connection,
long timeToGetConnectionNs)
|
static ConnectionInformation |
ConnectionInformation.fromPooledConnection(PooledConnection pooledConnection,
Connection connection,
long timeToGetConnectionNs)
Creates a new
ConnectionInformation instance for a Connection which has been obtained via a
PooledConnection |
static ConnectionInformation |
ConnectionInformation.fromTestConnection(Connection connection)
This method should only be used in test scenarios
|
ConnectionInformation |
StatementInformation.getConnectionInformation() |
Constructor and Description |
---|
CallableStatementInformation(ConnectionInformation connectionInformation,
String query) |
PreparedStatementInformation(ConnectionInformation connectionInformation,
String query) |
StatementInformation(ConnectionInformation connectionInformation) |
Modifier and Type | Method and Description |
---|---|
void |
JdbcEventListener.onAfterCommit(ConnectionInformation connectionInformation,
long timeElapsedNanos,
SQLException e)
This callback method is executed after the
Connection.commit() method is invoked. |
void |
CompoundJdbcEventListener.onAfterCommit(ConnectionInformation connectionInformation,
long timeElapsedNanos,
SQLException e) |
void |
JdbcEventListener.onAfterConnectionClose(ConnectionInformation connectionInformation,
SQLException e)
This callback method is executed after the
Connection.close() method is invoked. |
void |
CompoundJdbcEventListener.onAfterConnectionClose(ConnectionInformation connectionInformation,
SQLException e) |
void |
JdbcEventListener.onAfterRollback(ConnectionInformation connectionInformation,
long timeElapsedNanos,
SQLException e)
This callback method is executed after the
Connection.rollback() or the Connection.rollback(Savepoint) method is invoked. |
void |
CompoundJdbcEventListener.onAfterRollback(ConnectionInformation connectionInformation,
long timeElapsedNanos,
SQLException e) |
void |
JdbcEventListener.onBeforeCommit(ConnectionInformation connectionInformation)
This callback method is executed before the
Connection.commit() method is invoked. |
void |
CompoundJdbcEventListener.onBeforeCommit(ConnectionInformation connectionInformation) |
void |
JdbcEventListener.onBeforeRollback(ConnectionInformation connectionInformation)
This callback method is executed before the
Connection.rollback() or the Connection.rollback(Savepoint) method is invoked. |
void |
CompoundJdbcEventListener.onBeforeRollback(ConnectionInformation connectionInformation) |
void |
JdbcEventListener.onConnectionWrapped(ConnectionInformation connectionInformation)
This callback method is executed after a wrapped
Connection has been created. |
void |
CompoundJdbcEventListener.onConnectionWrapped(ConnectionInformation connectionInformation) |
Modifier and Type | Method and Description |
---|---|
void |
LoggingEventListener.onAfterCommit(ConnectionInformation connectionInformation,
long timeElapsedNanos,
SQLException e) |
void |
LoggingEventListener.onAfterRollback(ConnectionInformation connectionInformation,
long timeElapsedNanos,
SQLException e) |
Modifier and Type | Method and Description |
---|---|
void |
OutageJdbcEventListener.onAfterCommit(ConnectionInformation connectionInformation,
long timeElapsedNanos,
SQLException e) |
void |
OutageJdbcEventListener.onAfterRollback(ConnectionInformation connectionInformation,
long timeElapsedNanos,
SQLException e) |
void |
OutageJdbcEventListener.onBeforeCommit(ConnectionInformation connectionInformation) |
void |
OutageJdbcEventListener.onBeforeRollback(ConnectionInformation connectionInformation) |
Modifier and Type | Method and Description |
---|---|
static Connection |
P6Core.wrapConnection(Connection realConnection,
ConnectionInformation connectionInformation) |
Modifier and Type | Method and Description |
---|---|
ConnectionInformation |
ConnectionWrapper.getConnectionInformation() |
Modifier and Type | Method and Description |
---|---|
static Connection |
ConnectionWrapper.wrap(Connection delegate,
JdbcEventListener eventListener,
ConnectionInformation connectionInformation) |
Copyright © 2002-2016 P6Spy. All Rights Reserved.