com.sun.faban.driver
Annotation Type InitialDelay


@Retention(value=RUNTIME)
@Target(value={TYPE,ANNOTATION_TYPE})
public @interface InitialDelay

InitialDelay tells the driver to wait for a random amount of time up to the specified max before launching the first operation. This is most useful in fixed-cycle drivers (all operations use @FixedTime) to distribute the arrival of the operations across time. Otherwise we will see a thundering-herd effect for each operation which renders the simulation far less useful and realistic. The random time is selected from a uniform distribution.

Author:
Akara Sucharitakul

Optional Element Summary
 int max
          The maximum initial delay for any thread, in milliseconds.
 

max

public abstract int max
The maximum initial delay for any thread, in milliseconds. The actual delay is selected from a uniform distribution between 0 and the specified max.

Default:
0