Class JVMMemoryMetric
- java.lang.Object
-
- org.noise_planet.noisemodelling.pathfinder.utils.profiler.JVMMemoryMetric
-
- All Implemented Interfaces:
ProfilerThread.Metric
public class JVMMemoryMetric extends Object implements ProfilerThread.Metric
-
-
Constructor Summary
Constructors Constructor Description JVMMemoryMetric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getColumnNames()
String[]
getCurrentValues()
Allow to get the current valuevoid
tick(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:
getColumnNames
in interfaceProfilerThread.Metric
-
getCurrentValues
public String[] getCurrentValues()
Allow to get the current value- Specified by:
getCurrentValues
in interfaceProfilerThread.Metric
- Returns:
- a list of values in String
-
tick
public void tick(long currentMillis)
Description copied from interface:ProfilerThread.Metric
Called with little intervals in order to process metrics on the same thread than the call to getCurrentValues- Specified by:
tick
in interfaceProfilerThread.Metric
- Parameters:
currentMillis
- Time
-
-