Package com.jolbox.bonecp.hooks

Support for event notification on a connection state.

See:
          Description

Interface Summary
ConnectionHook Interface to the hooking mechanism of a connection lifecycle.
 

Class Summary
AbstractConnectionHook A no-op implementation of the ConnectionHook interface.
AcquireFailConfig Parameter class passed to onAcquireFail hook.
 

Enum Summary
ConnectionState An enum to indicate the state of a connection to be used as a signal via the onMarkPossiblyBroken hook.
 

Package com.jolbox.bonecp.hooks Description

Support for event notification on a connection state. Use the hook mechanism to register callbacks when a connection's state changes. Most applications will want to extend AbstractConnectionHook rather than implementing the ConnectionHook interface directly.



Copyright © 2009-2011 JolBox. All Rights Reserved.