public class ConnectionPoolEvent
extends java.util.EventObject
| Modifier and Type | Field and Description | 
|---|---|
| static int | CONNECTION_CREATEDEvent ID indicating that a connection has been created. | 
| static int | CONNECTION_EXPIREDEvent ID indicating that a connection has been cleaned up by the 
   maintenance thread because one or more of its properties expired. | 
| static int | CONNECTION_POOL_CLOSEDEvent ID indicating that a connection pool has been closed. | 
| static int | CONNECTION_RELEASEDEvent ID indicating that a connection has been given to an application. | 
| static int | CONNECTION_RETURNEDEvent ID indicating that a connection has been returned to the pool. | 
| static int | MAINTENANCE_THREAD_RUNEvent ID indicating that the maintenance thread is running. | 
| Constructor and Description | 
|---|
| ConnectionPoolEvent(java.lang.Object source,
                   int eventID)Constructs a ConnectionPoolEvent object. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getID()Returns the identifier for this event. | 
public static final int CONNECTION_POOL_CLOSED
public static final int CONNECTION_CREATED
public static final int CONNECTION_RELEASED
public static final int CONNECTION_RETURNED
public static final int CONNECTION_EXPIRED
public static final int MAINTENANCE_THREAD_RUN