public static interface ResourcePool.Manager
Modifier and Type | Method and 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) |
java.lang.Object acquireResource() throws java.lang.Exception
java.lang.Exception
void refurbishIdleResource(java.lang.Object resc) throws java.lang.Exception
java.lang.Exception
void refurbishResourceOnCheckout(java.lang.Object resc) throws java.lang.Exception
java.lang.Exception
void refurbishResourceOnCheckin(java.lang.Object resc) throws java.lang.Exception
java.lang.Exception
void destroyResource(java.lang.Object resc, boolean checked_out) throws java.lang.Exception
java.lang.Exception