@Test public void testCounterSanity() { long expected = 1000L; for (int i = 0; i < expected; i++) { counter.inc(); } assertSanity(expected); }
@Override public void inc() { inc(1L); }
FixedSizeStripedLongCounter extends FixedSizeStripedLongCounterFields implements Counter { @Override public void inc() { inc(1L); } }
FixedSizeStripedLongCounter extends FixedSizeStripedLongCounterFields implements Counter { @Override public void inc() { inc(1L); } FixedSizeStripedLongCounter(int stripesCount); }
FixedSizeStripedLongCounter extends FixedSizeStripedLongCounterFields implements Counter { @Override public void inc() { inc(1L); } FixedSizeStripedLongCounter(int stripesCount); @Override void inc(); @Override void inc(long delta); @Override long get(); @Override long getAndReset(); }
FixedSizeStripedLongCounter extends FixedSizeStripedLongCounterFields implements Counter { @Override public void inc() { inc(1L); } FixedSizeStripedLongCounter(int stripesCount); @Override void inc(); @Override void inc(long delta); @Override long get(); @Override long getAndReset();  }