Package com.mchange.v2.resourcepool
Class ResourcePoolEventSupport
- java.lang.Object
-
- com.mchange.v2.resourcepool.ResourcePoolEventSupport
-
public class ResourcePoolEventSupport extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ResourcePoolEventSupport(ResourcePool source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addResourcePoolListener(ResourcePoolListener mlistener)
void
fireResourceAcquired(java.lang.Object resc, int pool_size, int available_size, int removed_but_unreturned_size)
void
fireResourceCheckedIn(java.lang.Object resc, int pool_size, int available_size, int removed_but_unreturned_size)
void
fireResourceCheckedOut(java.lang.Object resc, int pool_size, int available_size, int removed_but_unreturned_size)
void
fireResourceRemoved(java.lang.Object resc, boolean checked_out_resource, int pool_size, int available_size, int removed_but_unreturned_size)
void
removeResourcePoolListener(ResourcePoolListener mlistener)
-
-
-
Constructor Detail
-
ResourcePoolEventSupport
public ResourcePoolEventSupport(ResourcePool source)
-
-
Method Detail
-
addResourcePoolListener
public void addResourcePoolListener(ResourcePoolListener mlistener)
-
removeResourcePoolListener
public void removeResourcePoolListener(ResourcePoolListener mlistener)
-
fireResourceAcquired
public void fireResourceAcquired(java.lang.Object resc, int pool_size, int available_size, int removed_but_unreturned_size)
-
fireResourceCheckedIn
public void fireResourceCheckedIn(java.lang.Object resc, int pool_size, int available_size, int removed_but_unreturned_size)
-
fireResourceCheckedOut
public void fireResourceCheckedOut(java.lang.Object resc, int pool_size, int available_size, int removed_but_unreturned_size)
-
fireResourceRemoved
public void fireResourceRemoved(java.lang.Object resc, boolean checked_out_resource, int pool_size, int available_size, int removed_but_unreturned_size)
-
-