@Override
  public void decrement() {
    if (isTombstone())
      throw new IllegalStateException("Record was deleted and can not be updated.");

    counter--;
    timestamp = System.currentTimeMillis();
    macAddress = OVersionFactory.instance().getMacAddress();
  }
 public ODistributedVersion(int counter) {
   this.counter = counter;
   this.timestamp = System.currentTimeMillis();
   this.macAddress = OVersionFactory.instance().getMacAddress();
 }
 @Override
 public void reset() {
   counter = 0;
   timestamp = System.currentTimeMillis();
   macAddress = OVersionFactory.instance().getMacAddress();
 }