org.apache.avalon.excalibur.command
Interface DelayedCommand
- All Superinterfaces:
- Command, org.apache.avalon.framework.activity.Executable, QueueElement, Signal
- All Known Subinterfaces:
- RepeatedCommand
- public interface DelayedCommand
- extends Command
A DelayedCommand is a specific type of Command that denotes a an execution
unit that will be delayed at least X number of milliseconds. The mechanism
is not guaranteed to be deterministic.
- Author:
- Berin Loritsch
Methods inherited from interface org.apache.avalon.framework.activity.Executable |
execute |
getDelayInterval
public long getDelayInterval()
- Sets the initial delay for the Command. This defaults to 0 milliseconds.
The value must be positive.
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.