public static class PerfStatsCollector.Metric
extends java.lang.Object
Metric for perf stats collection.
Constructor and Description |
---|
Metric(java.lang.String name,
boolean success) |
Metric(java.lang.String name,
int count,
int elapsedNs,
boolean success) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getCount() |
long |
getElapsedNs() |
java.lang.String |
getName() |
int |
hashCode() |
boolean |
isSuccess() |
java.lang.String |
toString() |
public Metric(java.lang.String name, int count, int elapsedNs, boolean success)
public Metric(java.lang.String name, boolean success)
public java.lang.String getName()
public int getCount()
public long getElapsedNs()
public boolean isSuccess()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object