public interface CustomMetrics extends Serializable, Cloneable
DriverContext.attachMetrics(CustomMetrics)
Modifier and Type | Interface and Description |
---|---|
static class |
CustomMetrics.Element
The custom metric element needed by the reporter.
|
Modifier and Type | Method and Description |
---|---|
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.
|
void add(CustomMetrics other)
other
- The metrics from another sourceCustomMetrics.Element[] getResults()
Object clone()