| Modifier and Type | Class and Description |
|---|---|
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public Object | |
| public Object | |
| public void | close()
Redeclares com. forces the release of any resources that might be associated with this object. |
| public void | |
| public int | |
| public int | |
| public int | |
| public long | |
| public int | |
| public Throwable | |
| public Throwable | |
| public Throwable | |
| public Throwable | |
| public Throwable | |
| public int | |
| public int | |
| public int | |
| public long | |
| public long | |
| public long | |
| public int | |
| public long | |
| public long | |
| public void | |
| public void | resetPool()
Discards all resources managed by the pool and reacquires new resources to populate the pool. |
| public void | |
| public int |
| KNOWN_AND_AVAILABLE | back to summary |
|---|---|
| public static final int KNOWN_AND_AVAILABLE | |
| KNOWN_AND_CHECKED_OUT | back to summary |
|---|---|
| public static final int KNOWN_AND_CHECKED_OUT | |
| UNKNOWN_OR_PURGED | back to summary |
|---|---|
| public static final int UNKNOWN_OR_PURGED | |
| checkinAll | back to summary |
|---|---|
| public void checkinAll() throws ResourcePoolException | |
| checkinResource | back to summary |
|---|---|
| public void checkinResource(Object resc) throws ResourcePoolException | |
| checkoutResource | back to summary |
|---|---|
| public Object checkoutResource() throws ResourcePoolException, InterruptedException | |
| checkoutResource | back to summary |
|---|---|
| public Object checkoutResource(long timeout) throws TimeoutException, ResourcePoolException, InterruptedException | |
| close | back to summary |
|---|---|
| public void close() throws ResourcePoolException Redeclares com. Doc from com. forces the release of any resources that might be associated with this object. | |
| close | back to summary |
|---|---|
| public void close(boolean close_checked_out_resources) throws ResourcePoolException | |
| getAvailableCount | back to summary |
|---|---|
| public int getAvailableCount() throws ResourcePoolException | |
| getAwaitingCheckinCount | back to summary |
|---|---|
| public int getAwaitingCheckinCount() throws ResourcePoolException | |
| getAwaitingCheckinNotExcludedCount | back to summary |
|---|---|
| public int getAwaitingCheckinNotExcludedCount() throws ResourcePoolException | |
| getEffectiveExpirationEnforcementDelay | back to summary |
|---|---|
| public long getEffectiveExpirationEnforcementDelay() throws ResourcePoolException | |
| getExcludedCount | back to summary |
|---|---|
| public int getExcludedCount() throws ResourcePoolException | |
| getLastAcquisitionFailure | back to summary |
|---|---|
| public Throwable getLastAcquisitionFailure() throws ResourcePoolException | |
| getLastCheckinFailure | back to summary |
|---|---|
| public Throwable getLastCheckinFailure() throws ResourcePoolException | |
| getLastCheckoutFailure | back to summary |
|---|---|
| public Throwable getLastCheckoutFailure() throws ResourcePoolException | |
| getLastIdleCheckFailure | back to summary |
|---|---|
| public Throwable getLastIdleCheckFailure() throws ResourcePoolException | |
| getLastResourceTestFailure | back to summary |
|---|---|
| public Throwable getLastResourceTestFailure() throws ResourcePoolException | |
| getMaxPoolSize | back to summary |
|---|---|
| public int getMaxPoolSize() throws ResourcePoolException | |
| getMinPoolSize | back to summary |
|---|---|
| public int getMinPoolSize() throws ResourcePoolException | |
| getNumCheckoutWaiters | back to summary |
|---|---|
| public int getNumCheckoutWaiters() throws ResourcePoolException | |
| getNumFailedCheckins | back to summary |
|---|---|
| public long getNumFailedCheckins() throws ResourcePoolException | |
| getNumFailedCheckouts | back to summary |
|---|---|
| public long getNumFailedCheckouts() throws ResourcePoolException | |
| getNumFailedIdleTests | back to summary |
|---|---|
| public long getNumFailedIdleTests() throws ResourcePoolException | |
| getPoolSize | back to summary |
|---|---|
| public int getPoolSize() throws ResourcePoolException | |
| getStartTime | back to summary |
|---|---|
| public long getStartTime() throws ResourcePoolException | |
| getUpTime | back to summary |
|---|---|
| public long getUpTime() throws ResourcePoolException | |
| markBroken | back to summary |
|---|---|
| public void markBroken(Object resc) throws ResourcePoolException Marks a resource as broken. If the resource is checked in, it will be destroyed immediately. Otherwise, it will be destroyed on checkin. | |
| resetPool | back to summary |
|---|---|
| public void resetPool() throws ResourcePoolException Discards all resources managed by the pool and reacquires new resources to populate the pool. Current checked out resources will still be valid, and should still be checked into the pool (so the pool can destroy them). | |
| setPoolSize | back to summary |
|---|---|
| public void setPoolSize(int size) throws ResourcePoolException | |
| statusInPool | back to summary |
|---|---|
| public int statusInPool(Object resc) throws ResourcePoolException | |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public void | |
| public void | |
| public void | |
| public void |
| acquireResource | back to summary |
|---|---|
| public Object acquireResource() throws Exception | |
| destroyResource | back to summary |
|---|---|
| public void destroyResource(Object resc, boolean checked_out) throws Exception | |
| refurbishIdleResource | back to summary |
|---|---|
| public void refurbishIdleResource(Object resc) throws Exception | |
| refurbishResourceOnCheckin | back to summary |
|---|---|
| public void refurbishResourceOnCheckin(Object resc) throws Exception | |
| refurbishResourceOnCheckout | back to summary |
|---|---|
| public void refurbishResourceOnCheckout(Object resc) throws Exception | |