Class MutableLongPointData

  • All Implemented Interfaces:
    LongPointData, PointData

    public class MutableLongPointData
    extends java.lang.Object
    implements LongPointData
    Mutable LongPointData

    This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.

    This class is not thread-safe.

    • Field Detail

      • value

        private long value
      • startEpochNanos

        private long startEpochNanos
      • epochNanos

        private long epochNanos
    • Constructor Detail

      • MutableLongPointData

        public MutableLongPointData()
    • Method Detail

      • getValue

        public long getValue()
        Description copied from interface: LongPointData
        Returns the value of the data point.
        Specified by:
        getValue in interface LongPointData
      • getStartEpochNanos

        public long getStartEpochNanos()
        Description copied from interface: PointData
        Returns the start time of the aggregation in epoch nanos.
        Specified by:
        getStartEpochNanos in interface PointData
      • getEpochNanos

        public long getEpochNanos()
        Description copied from interface: PointData
        Returns the end time of the aggregation in epoch nanos.
        Specified by:
        getEpochNanos in interface PointData
      • set

        public void set​(long startEpochNanos,
                        long epochNanos,
                        Attributes attributes,
                        long value)
        Sets all MutableDoublePointData values besides exemplars which are set to be empty.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object