Package org.eso.ias.plugin
Class DetailedStatsCollector.StatData
java.lang.Object
org.eso.ias.plugin.DetailedStatsCollector.StatData
- All Implemented Interfaces:
Comparable<DetailedStatsCollector.StatData>
- Enclosing class:
- DetailedStatsCollector
public class DetailedStatsCollector.StatData
extends Object
implements Comparable<DetailedStatsCollector.StatData>
The data to collect for each monitor point
The list contains only one entry for each updated monitor point, represented by its ID only.
TreeMap
allows to sort by the key but we need
to sort for the value of the object i.e. the number of its occurrences.
- Author:
- acaproni
-
Field Details
-
id
The ID of the monitor point
-
-
Constructor Details
-
StatData
The constructor for a given monitor point- Parameters:
id
- The notnull
nor empty ID of a monitor point
-
-
Method Details
-
updated
public void updated()The monitor point has been updated. -
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<DetailedStatsCollector.StatData>
- See Also:
-
getOccurrences
public int getOccurrences()- Returns:
- the occurrences
-