com.sun.faban.driver
Annotation Type BenchmarkOperation


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface BenchmarkOperation

This annotation interface describes the parameters required when defining a benchmark operation.


Required Element Summary
 double max90th
          The maximum 90th percentile allowed for this operation.
 
Optional Element Summary
 boolean countToMetric
          Whether this operation gets counted toward the final metric.
 String name
          The name of the operation.
 Timing timing
          Sets the timing mode of this operation to manual or automatic.
 

Element Detail

max90th

public abstract double max90th
The maximum 90th percentile allowed for this operation. The benchmark run will fail if the 90th percentile of this operation exceeds the given limit. The unit of measure is dependent on the response time unit specified in the BenchmarkDriver annotation.

See Also:
BenchmarkDriver.responseTimeUnit()

name

public abstract String name
The name of the operation.

Default:
""

timing

public abstract Timing timing
Sets the timing mode of this operation to manual or automatic. Manual timing is needed if the benchmark is not a client/server benchmark or the transport still does not support automatic timing.

Default:
com.sun.faban.driver.Timing.AUTO

countToMetric

public abstract boolean countToMetric
Whether this operation gets counted toward the final metric. The default is true.

Default:
true