Class Point

java.lang.Object
io.opencensus.metrics.export.Point
Direct Known Subclasses:
AutoValue_Point

@ExperimentalApi @Immutable public abstract class Point extends Object
A timestamped measurement of a TimeSeries.
Since:
0.17
  • Constructor Details

    • Point

      Point()
  • Method Details

    • create

      public static Point create(Value value, Timestamp timestamp)
      Creates a Point.
      Parameters:
      value - the Value of this Point.
      timestamp - the Timestamp when this Point was recorded.
      Returns:
      a Point.
      Since:
      0.17
    • getValue

      public abstract Value getValue()
      Returns the Value.
      Returns:
      the Value.
      Since:
      0.17
    • getTimestamp

      public abstract Timestamp getTimestamp()
      Returns the Timestamp when this Point was recorded.
      Returns:
      the Timestamp.
      Since:
      0.17