code: public void set(long count, long startTime, long lastSampleTime) {
          this.count = count;
          this.startTime = startTime;
          this.lastSampleTime = lastSampleTime;
      }
docs: /*
  Non-Synchronizable: counter is "replaced" with the input value. Caller should synchronize.