JavaScript is disabled on your browser.
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
org.apache.avalon.excalibur.pool
Interface PoolController
public interface
PoolController
This is the interface you implement if you want to control how Pools capacity changes overtime. It gets called everytime that a Pool tries to go below or above it's minimum or maximum.
Since:
4.0
Version:
CVS $Revision: 1.6 $ $Date: 2004/03/29 16:50:37 $
Author:
Avalon Development Team
Method Summary
Methods
Modifier and Type
Method and Description
int
grow
()
Called when a Pool reaches it's minimum.
int
shrink
()
Called when a pool reaches it's maximum.
Method Detail
grow
int grow()
Called when a Pool reaches it's minimum. Return the number of elements to increase minimum and maximum by.
Returns:
the element increase
shrink
int shrink()
Called when a pool reaches it's maximum. Returns the number of elements to decrease mi and max by.
Returns:
the element decrease
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method