示例#1
0
  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();
  }
示例#2
0
 public Timestamp getLastModified() {
   if (lastModified_ == null) return null;
   else return (Timestamp) lastModified_.clone();
 }