public class PooledConnectionTracer extends Object
Constructor and Description |
---|
PooledConnectionTracer(TraceOutput out) |
Modifier and Type | Method and Description |
---|---|
void |
addConnectionEventListener(ConnectionEventListener listener) |
void |
addConnectionEventListener(Throwable cause,
ConnectionEventListener listener) |
void |
addStatementEventListener(StatementEventListener listener) |
void |
addStatementEventListener(Throwable cause,
StatementEventListener listener) |
void |
close() |
void |
close(Throwable cause) |
void |
getConnection(Connection result) |
void |
getConnection(Throwable cause) |
com.impossibl.jdbc.spy.ConnectionListener |
newConnectionListener() |
void |
removeConnectionEventListener(ConnectionEventListener listener) |
void |
removeConnectionEventListener(Throwable cause,
ConnectionEventListener listener) |
void |
removeStatementEventListener(StatementEventListener listener) |
void |
removeStatementEventListener(Throwable cause,
StatementEventListener listener) |
void |
trace(Trace trace) |
public PooledConnectionTracer(TraceOutput out)
public void trace(Trace trace)
public void addStatementEventListener(StatementEventListener listener)
public void addStatementEventListener(Throwable cause, StatementEventListener listener)
public void close()
public void close(Throwable cause)
public void addConnectionEventListener(ConnectionEventListener listener)
public void addConnectionEventListener(Throwable cause, ConnectionEventListener listener)
public void removeConnectionEventListener(ConnectionEventListener listener)
public void removeConnectionEventListener(Throwable cause, ConnectionEventListener listener)
public void removeStatementEventListener(StatementEventListener listener)
public void removeStatementEventListener(Throwable cause, StatementEventListener listener)
public void getConnection(Connection result)
public void getConnection(Throwable cause)
public com.impossibl.jdbc.spy.ConnectionListener newConnectionListener()