Class ResultsCache
java.lang.Object
org.noise_planet.noisemodelling.jdbc.output.ResultsCache
- All Implemented Interfaces:
ProfilerThread.Metric
Store results in memory, awaiting writing on sql database
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ConcurrentLinkedDeque<CnossosPath> final AtomicLongAs reading the size of the queue is a O(n) operation, this attribute store the current number of elements in the stacksfinal AtomicLong -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
queueSize
As reading the size of the queue is a O(n) operation, this attribute store the current number of elements in the stacks -
totalRaysInserted
-
receiverLevels
-
cnossosPaths
-
-
Constructor Details
-
ResultsCache
public ResultsCache()
-
-
Method Details
-
getColumnNames
- Specified by:
getColumnNamesin interfaceProfilerThread.Metric
-
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
-