Package step.core.reports
Class MeasurementsBuilder
- java.lang.Object
-
- step.core.reports.MeasurementsBuilder
-
public class MeasurementsBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description MeasurementsBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMeasure(String measureName, long aDurationMillis)
void
addMeasure(String measureName, long aDurationMillis, Map<String,Object> data)
void
addMeasure(Measure measure)
void
addMeasures(List<Measure> measures)
List<Measure>
getMeasures()
protected void
pushMeasure(Measure tr)
void
startMeasure(String name)
void
startMeasure(String name, long begin)
Measure
stopMeasure()
Measure
stopMeasure(Map<String,Object> data)
-
-
-
Method Detail
-
startMeasure
public void startMeasure(String name)
-
startMeasure
public void startMeasure(String name, long begin)
-
pushMeasure
protected void pushMeasure(Measure tr)
-
stopMeasure
public Measure stopMeasure()
-
addMeasure
public void addMeasure(String measureName, long aDurationMillis)
-
addMeasure
public void addMeasure(String measureName, long aDurationMillis, Map<String,Object> data)
-
addMeasure
public void addMeasure(Measure measure)
-
-