public interface PruneStrategy
Modifier and Type | Method and Description |
---|---|
Duration |
getPrunePeriod()
Returns the interval at which the prune task will be executed.
|
int |
getStatisticsSize()
Returns the number of statistics to store for this prune strategy.
|
boolean |
prune(PooledConnectionProxy conn)
Invoked to determine whether a connection should be pruned from the pool.
|
boolean prune(PooledConnectionProxy conn)
conn
- that is available for pruningint getStatisticsSize()
PooledConnectionStatistics
.Duration getPrunePeriod()
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.