Class ProgressMetric
- java.lang.Object
-
- org.noise_planet.noisemodelling.pathfinder.utils.profiler.ProgressMetric
-
- All Implemented Interfaces:
ProfilerThread.Metric
public class ProgressMetric extends Object implements ProfilerThread.Metric
Metric that write progression value in percentage
-
-
Constructor Summary
Constructors Constructor Description ProgressMetric(org.h2gis.api.ProgressVisitor progressVisitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getColumnNames()String[]getCurrentValues()voidtick(long currentMillis)Called with little intervals in order to process metrics on the same thread than the call to getCurrentValues
-
-
-
Method Detail
-
getColumnNames
public String[] getColumnNames()
- Specified by:
getColumnNamesin interfaceProfilerThread.Metric
-
getCurrentValues
public String[] getCurrentValues()
- Specified by:
getCurrentValuesin interfaceProfilerThread.Metric
-
tick
public void tick(long currentMillis)
Description copied from interface:ProfilerThread.MetricCalled with little intervals in order to process metrics on the same thread than the call to getCurrentValues- Specified by:
tickin interfaceProfilerThread.Metric- Parameters:
currentMillis- Time
-
-