|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PruneStrategy
Provides an interface for pruning connections from the pool.
| Method Summary | |
|---|---|
long |
getPrunePeriod()
Returns the interval at which the prune task will be executed in seconds. |
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. |
| Method Detail |
|---|
boolean prune(PooledConnectionProxy conn)
conn - that is available for pruning
int getStatisticsSize()
PooledConnectionStatistics.
long getPrunePeriod()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||