code: public DataPointLongBean addDataPoint(Date timestamp, long value) {
          DataPointLongBean point = new DataPointLongBean(timestamp, value);
          dataPoints.add(point);
          return point;
      }
docs: Adds a single data point to the metric.
  @param timestamp
  @param value