| Constructor and Description |
|---|
AssocWithThreadPoolResizer(PoolInfo poolInfo,
DataStructure ds,
PoolProperties pp,
ResourceHandler handler,
boolean preferValidateOverRecreate) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
removeIdleAndInvalidResources()
Get the free connections list from the pool, remove idle-timed-out resources
and then invalid resources.
|
protected void |
scaleDownPool(int scaleDownQuantity,
boolean forced)
Scale down pool by a
size <= pool-resize-quantity |
debug, isResourceEligibleForRemoval, resizePool, run, validateAndRemoveResourcecancel, scheduledExecutionTimepublic AssocWithThreadPoolResizer(PoolInfo poolInfo, DataStructure ds, PoolProperties pp, ResourceHandler handler, boolean preferValidateOverRecreate)
protected void scaleDownPool(int scaleDownQuantity,
boolean forced)
size <= pool-resize-quantityscaleDownPool in class Resizerforced - scale-down only when forcedscaleDownQuantity - no. of resources to removeprotected int removeIdleAndInvalidResources()
removeIdleAndInvalidResources in class ResizerCopyright © 2017. All rights reserved.