@Test public void decrement() { counter.reset(); counter.decrement(); assertEquals(counter.getValue(), -1); }
@Override public LongMonitoringCounter decrement() { counter.add(-1); return this; }
AgronaLongMonitoringCounter implements LongMonitoringCounter { @Override public LongMonitoringCounter decrement() { counter.add(-1); return this; } }
AgronaLongMonitoringCounter implements LongMonitoringCounter { @Override public LongMonitoringCounter decrement() { counter.add(-1); return this; } AgronaLongMonitoringCounter(AtomicCounter counter); }
AgronaLongMonitoringCounter implements LongMonitoringCounter { @Override public LongMonitoringCounter decrement() { counter.add(-1); return this; } AgronaLongMonitoringCounter(AtomicCounter counter); @Override LongMonitoringCounter reset(); @Override LongMonitoringCounter setValue(long value); @Override long getValue(); @Override LongMonitoringCounter increment(); @Override LongMonitoringCounter incrementByValue(long value); @Override LongMonitoringCounter decrement(); @Override LongMonitoringCounter decrementByValue(long value); }
AgronaLongMonitoringCounter implements LongMonitoringCounter { @Override public LongMonitoringCounter decrement() { counter.add(-1); return this; } AgronaLongMonitoringCounter(AtomicCounter counter); @Override LongMonitoringCounter reset(); @Override LongMonitoringCounter setValue(long value); @Override long getValue(); @Override LongMonitoringCounter increment(); @Override LongMonitoringCounter incrementByValue(long value); @Override LongMonitoringCounter decrement(); @Override LongMonitoringCounter decrementByValue(long value);  }