
com.mchange.v2.resourcepool.EventSupportingResourcePool Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of c3p0 Show documentation
Show all versions of c3p0 Show documentation
A mature JDBC3+ Connection pooling library
package com.mchange.v2.resourcepool;
import com.mchange.v1.util.ClosableResource;
public interface EventSupportingResourcePool extends ResourcePool
{
/**
* Events may be fired asynchronously: listeners must not rely on
* events to reflect the current state of the pool, but they will
* accurately represent the state of the pool in the recent past
* when the event-provoking incident occurred.
*/
public void addResourcePoolListener(ResourcePoolListener rpl)
throws ResourcePoolException;
public void removeResourcePoolListener(ResourcePoolListener rpl)
throws ResourcePoolException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy