org.apache.excalibur.mpool
Class DefaultPoolManager.PoolManagerCommand

java.lang.Object
  extended by org.apache.excalibur.mpool.DefaultPoolManager.PoolManagerCommand
All Implemented Interfaces:
org.apache.avalon.framework.activity.Executable, org.apache.excalibur.event.command.Command, org.apache.excalibur.event.command.DelayedCommand, org.apache.excalibur.event.command.RepeatedCommand, org.apache.excalibur.event.Signal
Enclosing class:
DefaultPoolManager

private static final class DefaultPoolManager.PoolManagerCommand
extends java.lang.Object
implements org.apache.excalibur.event.command.RepeatedCommand


Field Summary
private  int m_grow
           
private  java.util.Map m_map
           
private  int m_max
           
private  int m_min
           
 
Constructor Summary
protected DefaultPoolManager.PoolManagerCommand(java.util.Map map)
           
 
Method Summary
 void execute()
           
 long getDelayInterval()
           
 int getNumberOfRepeats()
           
 long getRepeatInterval()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_map

private final java.util.Map m_map

m_min

private final int m_min
See Also:
Constant Field Values

m_max

private final int m_max
See Also:
Constant Field Values

m_grow

private final int m_grow
See Also:
Constant Field Values
Constructor Detail

DefaultPoolManager.PoolManagerCommand

protected DefaultPoolManager.PoolManagerCommand(java.util.Map map)
Method Detail

getDelayInterval

public long getDelayInterval()
Specified by:
getDelayInterval in interface org.apache.excalibur.event.command.DelayedCommand

getRepeatInterval

public long getRepeatInterval()
Specified by:
getRepeatInterval in interface org.apache.excalibur.event.command.RepeatedCommand

getNumberOfRepeats

public int getNumberOfRepeats()
Specified by:
getNumberOfRepeats in interface org.apache.excalibur.event.command.RepeatedCommand

execute

public void execute()
             throws java.lang.Exception
Specified by:
execute in interface org.apache.avalon.framework.activity.Executable
Throws:
java.lang.Exception