This project has retired. For details please refer to its
        
        Attic page.
      
org.apache.excalibur.event.command
Interface RepeatedCommand
- All Superinterfaces: 
- Command, DelayedCommand, Executable, Signal
- public interface RepeatedCommand- extends DelayedCommand
A Signal is a specific type of QueueElement that denotes a Control code
 for the Queue system.
- Author:
- Avalon Development Team
| Method Summary | 
|  int | getNumberOfRepeats()If the value is less than 1 (0 or negative), the command repeats for
 as long as the CommandManager is running.
 | 
|  long | getRepeatInterval()Gets the repeat interval so that the CommandQueue keeps it for the
 specified amount of time before enqueuing it again.
 | 
 
 
| Methods inherited from interface org.apache.avalon.framework.activity.Executable | 
| execute | 
 
getNumberOfRepeats
public int getNumberOfRepeats()
- If the value is less than 1 (0 or negative), the command repeats for
 as long as the CommandManager is running.  If the value is above 0,
 the Command repeats only for that specific amount of times before it
 is removed from the system.
 
- 
 
- 
- Returns:
- the number of times the command repeats
 
getRepeatInterval
public long getRepeatInterval()
- Gets the repeat interval so that the CommandQueue keeps it for the
 specified amount of time before enqueuing it again.  This value must
 not be negative.
 
- 
 
- 
- Returns:
- the number of milliseconds between each repeat
 
Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.