Interface TimedData


public interface TimedData
The data of an entry
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Get the current value
    double
    Get the difference between the initial value and the current value
    double
    Get the initial value
    long
    Get the Unix timestamp in milliseconds of the last update
  • Method Details

    • initial

      double initial()
      Get the initial value
      Returns:
      the initial value
    • current

      double current()
      Get the current value
      Returns:
      the current value
    • timestamp

      long timestamp()
      Get the Unix timestamp in milliseconds of the last update
      Returns:
      the timestamp
    • diff

      double diff()
      Get the difference between the initial value and the current value
      Returns:
      the difference