Interface StatisticsWriter

All Known Implementing Classes:
StatisticsProviderInfluxService

public interface StatisticsWriter
Interface for a class that can write statistical data of various data types
  • Method Summary

    Modifier and Type
    Method
    Description
    Lorem ipsum dolor sit amet
    void
    writeDuration(String organizationId, String measurementName, String retentionPolicy, String organizationIdResourceName, String fieldName, TimeUnit temporalResolution, Duration duration)
    Write a duration to a statistics data base
  • Method Details

    • writeDuration

      void writeDuration(String organizationId, String measurementName, String retentionPolicy, String organizationIdResourceName, String fieldName, TimeUnit temporalResolution, Duration duration)
      Write a duration to a statistics data base
      Parameters:
      organizationId - Organization ID of the data point
      measurementName - Measurement name of the data point
      retentionPolicy - Retention policy of the data point
      organizationIdResourceName - Resource name for the organization
      fieldName - Field name to write
      temporalResolution - The temporal resolution to store it in
      duration - The actual duration to write
    • getId

      String getId()
      Lorem ipsum dolor sit amet
      Returns:
      the writer's ID