connectionpool
Interface ConnectionLeakListener


public abstract interface ConnectionLeakListener

This interface defines the behavior of the class listenening to connection leak events. A class requiring to listen to connection leaks must implement this interface.


Method Summary
 void connectionTimeOut(ConnectionLeakEvent cle)
          This method is called when a connection leak is detected.
 

Method Detail

connectionTimeOut

public void connectionTimeOut(ConnectionLeakEvent cle)
This method is called when a connection leak is detected. When ever a connection is blocked by the consumer for more than a then the specified time, a connection leak is said to have occurred.