public Gauge(String bucketSha1, String bucket, BigDecimal metricValue, Timestamp lastModified) { this.bucketSha1_ = bucketSha1; this.bucket_ = bucket; this.metricValue_ = metricValue; if (lastModified == null) this.lastModified_ = null; else this.lastModified_ = (Timestamp) lastModified.clone(); }
public Timestamp getLastModified() { if (lastModified_ == null) return null; else return (Timestamp) lastModified_.clone(); }