Package org.jwarp.util.recycle

Interface Summary
IController This interface should be implemented by those classes willing to control the level of recycle bins.
IRecyclable This interface standardizes the behaviour of a recyclable object.
IRecycleBin 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. (this should be rewritten to use collections when they are available)
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
RecycleBinEmptyException This exception is thrown by a RecycleBin subclass to signal that it does not contain any Recyclable objects.
RecycleBinFullException This exception is thrown by a RecycleBin subclass to signal that it cannot contain any more Recyclable objects.
 


©   O R C A   S y s t e m s