com.sun.faban.driver
Annotation Type FlatMix


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface FlatMix

This annotation interface describes the parameters required when defining a flat mix. The flat mix where each operation has the same weight and probability of being called is the default and does not need to be defined.


Required Element Summary
 double[] mix
          The mix of each operation named in the operations list.
 
Optional Element Summary
 double deviation
          The allowed deviation of the operation selection.
 String[] operations
          The list of operation names.
 

Element Detail

mix

public abstract double[] mix
The mix of each operation named in the operations list.

operations

public abstract String[] operations
The list of operation names.

Default:
""

deviation

public abstract double deviation
The allowed deviation of the operation selection.

Default:
2.0