| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CustomMetrics
Benchmarks that keep track of custom metrices will need to create a metrics class implementing this CustomMetrics interface. Then, upon initialization it will have to attach the metrics object by calling the attachMectrics(CustomMetrics) method of the driver context.
DriverContext.attachMetrics(CustomMetrics)| Nested Class Summary | |
|---|---|
static class | 
CustomMetrics.Element
The custom metric element needed by the reporter.  | 
| Method Summary | |
|---|---|
 void | 
add(CustomMetrics other)
Aggregates the metrics from another source or thread with the current one.  | 
 Object | 
clone()
The metrics need to be cloneable and not throw any exceptions.  | 
 CustomMetrics.Element[] | 
getResults()
Obtains the results of the metrics represented by this object.  | 
| Method Detail | 
|---|
void add(CustomMetrics other)
other - The metrics from another sourceCustomMetrics.Element[] getResults()
Object clone()
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||