Class RrdSample

    • Constructor Detail

      • RrdSample

        public RrdSample​(long timestamp,
                         List<Double> values)
        Instantiates a new sample.
        Parameters:
        timestamp - the timestamp in seconds
        values - the values
    • Method Detail

      • getTimestamp

        public long getTimestamp()
        Gets the timestamp in milliseconds.
        Returns:
        the timestamp
      • setTimestamp

        public void setTimestamp​(long timestamp)
        Sets the timestamp in milliseconds.
        Parameters:
        timestamp - the new timestamp
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object