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