com.mchange.v2.resourcepool
Class ResourcePoolEvent
java.lang.Object
java.util.EventObject
com.mchange.v2.resourcepool.ResourcePoolEvent
- All Implemented Interfaces:
- java.io.Serializable
public class ResourcePoolEvent
- extends java.util.EventObject
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
ResourcePoolEvent(ResourcePool pool,
java.lang.Object resc,
boolean checked_out_resource,
int pool_size,
int available_size,
int removed_but_unreturned_size)
|
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ResourcePoolEvent
public ResourcePoolEvent(ResourcePool pool,
java.lang.Object resc,
boolean checked_out_resource,
int pool_size,
int available_size,
int removed_but_unreturned_size)
getResource
public java.lang.Object getResource()
isCheckedOutResource
public boolean isCheckedOutResource()
getPoolSize
public int getPoolSize()
getAvailableSize
public int getAvailableSize()
getRemovedButUnreturnedSize
public int getRemovedButUnreturnedSize()