Package org.apache.java.recycle

Interface Summary
Controller This interface should be implemented by those classes willing to control the level of recycle bins.
Recyclable This interface standardizes the behaviour of a recyclable object.
RecycleBin This interface standardize the behaviour of a RecycleBin object, used to contain a pool of Recyclable objects.
 

Class Summary
AdaptiveController This controller creates a simple yet very effective negative feedback that stabilizes the level of the container.
Container This class implements the simplest recycle bin wrapping around a Stack implementation.
ControlledContainer This class wraps around a RecycleBin to control it with a given controller.
ControllerFactory This class provides static methods to create Controllers given their class names.
DefaultController The default controller doesn't do anything.
GaussianController This is an adaptive controller based on a statistical analysis of the level transitions.
LimitedContainer This class wraps around a container to limit its capacity.
MinMaxController This level controller is based on a simpler variance method: the variance of the request frequency is obtained from the difference between the minimum and maximum value of the level.
 

Exception Summary
RecycleBinIsEmpty This exception is thrown by a RecycleBin subclass to signal that it does not contain any Recyclable objects.
RecycleBinIsFull This exception is thrown by a RecycleBin subclass to signal that it cannot contain any more Recyclable objects.