public long resetTimestamp() {
    if (DistributionStats.enableClockStats) {
      long now = DistributionStats.getStatTime();
      long result = now - timeStamp;
      timeStamp = now;
      return result;
    } else {
      return 0;
    }
  }
Sets the timestamp of this message to the current time (in nanos).

@return the number of elapsed nanos since this message's last timestamp
geode-core/src/main/java/org/apache/geode/distributed/internal/DistributionMessage.java