Package com.mchange.v2.resourcepool
Interface ResourcePool.Manager
-
- Enclosing interface:
- ResourcePool
public static interface ResourcePool.Manager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
acquireResource()
void
destroyResource(java.lang.Object resc, boolean checked_out)
void
refurbishIdleResource(java.lang.Object resc)
void
refurbishResourceOnCheckin(java.lang.Object resc)
void
refurbishResourceOnCheckout(java.lang.Object resc)
-
-
-
Method Detail
-
acquireResource
java.lang.Object acquireResource() throws java.lang.Exception
- Throws:
java.lang.Exception
-
refurbishIdleResource
void refurbishIdleResource(java.lang.Object resc) throws java.lang.Exception
- Throws:
java.lang.Exception
-
refurbishResourceOnCheckout
void refurbishResourceOnCheckout(java.lang.Object resc) throws java.lang.Exception
- Throws:
java.lang.Exception
-
refurbishResourceOnCheckin
void refurbishResourceOnCheckin(java.lang.Object resc) throws java.lang.Exception
- Throws:
java.lang.Exception
-
destroyResource
void destroyResource(java.lang.Object resc, boolean checked_out) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-