KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > smartlib > pool > core > ConnectionLeakListener


1 /*
2  * @(#) ConnectionLeakListener 1.0 02/08/01
3  */

4
5
6 package org.smartlib.pool.core;
7
8 /**
9  * This interface defines the behavior of the class listenening to connection
10  * leak events. A class requiring to listen to connection leaks must implement
11  * this interface.
12  *
13  * @author Sachin Shekar Shetty
14  * @version 1.0, 02/08/01
15  */

16
17 public interface ConnectionLeakListener {
18
19     /**
20      * This method is called when a connection leak is detected.
21      * When ever a connection is blocked by the consumer for more than
22      * a then the specified time, a connection leak is said to have occurred.
23      */

24     public void connectionTimeOut(ConnectionLeakEvent cle);
25
26 }
27
Popular Tags