|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@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.
Optional Element Summary | |
---|---|
int |
max
The maximum initial delay for any thread, in milliseconds. |
public abstract int max
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |