byte [] existingValue = get(key);
byte [] newValue = modifier.modify(existingValue);
if (compareAndSwap(key, existingValue, newValue)) break;
}
}
<BUG>public void increment(byte [] key, long amount) {
</BUG>
Count count = this.countermap.get(key);
if (count == null) {
count = new Count();

byte [] existingValue = get(key);
byte [] newValue = modifier.modify(existingValue);
if (compareAndSwap(key, existingValue, newValue)) break;
}
}
public long increment(byte [] key, long amount) {
Count count = this.countermap.get(key);
if (count == null) {
count = new Count();
