org.ow2.util.pool.impl.enhanced.internal.resizer.impl
Class AbstractResizer<S>

java.lang.Object
  extended by org.ow2.util.pool.impl.enhanced.internal.resizer.impl.AbstractResizer<S>
Type Parameters:
S - statistics type
All Implemented Interfaces:
IResizer<S>
Direct Known Subclasses:
MinMaxExpectedSpareStockerResizer

public abstract class AbstractResizer<S>
extends java.lang.Object
implements IResizer<S>

Author:
Gael Lalire

Constructor Summary
AbstractResizer()
           
 
Method Summary
 void setResizable(IResizable resizablePool)
          Resizer will call method on it.
protected  void updateWith(int expectedSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ow2.util.pool.impl.enhanced.internal.resizer.api.IResizer
prepareUpdate, update
 

Constructor Detail

AbstractResizer

public AbstractResizer()
Method Detail

updateWith

protected void updateWith(int expectedSize)

setResizable

public void setResizable(IResizable resizablePool)
Description copied from interface: IResizer
Resizer will call method on it.

Specified by:
setResizable in interface IResizer<S>
Parameters:
resizablePool - a resizable


Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.