Hi,

Did anyone get around to checking this out? It is quite important that repeated 
commands are working for a number of other components as well. For instance 
DefaultPoolManager in mpool uses a repeated command to manage its pools. This is not 
working now either.


> -----Oorspronkelijk bericht-----
> Van: Unico Hommes 
> Verzonden: donderdag 13 februari 2003 17:31
> Aan: Avalon Developers List
> Onderwerp: RE: [PATCH] CommandManager cancels instead of delay
> 
> 
> 
> Hmm, where did it go?
> 
> 
> Index: CommandManager.java
> ===================================================================
> RCS file: 
> /home/cvspublic/avalon-excalibur/event/src/java/org/apache/exc
> alibur/event/command/CommandManager.java,v
> retrieving revision 1.21
> diff -u -r1.21 CommandManager.java
> --- CommandManager.java       2 Oct 2002 17:49:20 -0000       1.21
> +++ CommandManager.java       13 Feb 2003 16:29:35 -0000
> @@ -285,6 +285,11 @@
>                          }
>                      }
>                  }
> +                else
> +                {
> +                    // not yet executed, wait some more
> +                    m_delayedCommands.add( command );
> +                }
>              }
>          }
> 
> > 
> > Hi,
> > 
> > I noticed my RepeatedCommands weren't being executed. So I 
> > traced the problem and found it to be that CommandManager 
> > doesn't re-queue its DelayedCommands if it's not time for 
> > them to be executed yet. In other words, in the case that 
> > it's not time for them yet, they get removed completely!
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to