Keel 2.1RC2

org.apache.excalibur.event.command
Interface DelayedCommand

All Superinterfaces:
Command, Executable, Signal
All Known Subinterfaces:
RepeatedCommand
All Known Implementing Classes:
DefaultPoolManager.PoolManagerCommand

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:

Method Summary
 long getDelayInterval()
          Sets the initial delay for the Command.
 
Methods inherited from interface org.apache.avalon.framework.activity.Executable
execute
 

Method Detail

getDelayInterval

public long getDelayInterval()
Sets the initial delay for the Command. This defaults to 0 milliseconds. The value must be positive.

Returns:
the number of milliseconds to delay

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.