Package com.impossibl.jdbc.spy
Class PooledConnectionTracer
- java.lang.Object
-
- com.impossibl.jdbc.spy.PooledConnectionTracer
-
public class PooledConnectionTracer extends Object
-
-
Constructor Summary
Constructors Constructor Description PooledConnectionTracer(TraceOutput out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConnectionEventListener(Throwable cause, ConnectionEventListener listener)
void
addConnectionEventListener(ConnectionEventListener listener)
void
addStatementEventListener(Throwable cause, StatementEventListener listener)
void
addStatementEventListener(StatementEventListener listener)
void
close()
void
close(Throwable cause)
void
getConnection(Throwable cause)
void
getConnection(Connection result)
com.impossibl.jdbc.spy.ConnectionListener
newConnectionListener()
void
removeConnectionEventListener(Throwable cause, ConnectionEventListener listener)
void
removeConnectionEventListener(ConnectionEventListener listener)
void
removeStatementEventListener(Throwable cause, StatementEventListener listener)
void
removeStatementEventListener(StatementEventListener listener)
void
trace(Trace trace)
-
-
-
Constructor Detail
-
PooledConnectionTracer
public PooledConnectionTracer(TraceOutput out)
-
-
Method Detail
-
trace
public void trace(Trace trace)
-
getConnection
public void getConnection(Connection result)
-
getConnection
public void getConnection(Throwable cause)
-
addStatementEventListener
public void addStatementEventListener(StatementEventListener listener)
-
addStatementEventListener
public void addStatementEventListener(Throwable cause, StatementEventListener listener)
-
removeStatementEventListener
public void removeStatementEventListener(StatementEventListener listener)
-
removeStatementEventListener
public void removeStatementEventListener(Throwable cause, StatementEventListener listener)
-
removeConnectionEventListener
public void removeConnectionEventListener(ConnectionEventListener listener)
-
removeConnectionEventListener
public void removeConnectionEventListener(Throwable cause, ConnectionEventListener listener)
-
addConnectionEventListener
public void addConnectionEventListener(ConnectionEventListener listener)
-
addConnectionEventListener
public void addConnectionEventListener(Throwable cause, ConnectionEventListener listener)
-
close
public void close()
-
close
public void close(Throwable cause)
-
newConnectionListener
public com.impossibl.jdbc.spy.ConnectionListener newConnectionListener()
-
-