You can register the following listeners:
ConnectionListenerIF
Listen to the activity of each connection. When it is born (when a new Connection is made),
everytime it executes, when it fails (and what the command was that it failed on), and when
it dies (when we finally throw the Connection away).
StateListenerIF
Monitors the state of the pool so you can see whether it is
quiet, busy, overloaded, or down.
ConfigurationListenerIF
Listens to any changes made to the
definition
giving you the opportunity to persist a definition.
StatisticsListenerIF
Listen for new statistics
as they are produced.
|