@Test public void largeLong() { long tooLarge = Long.MAX_VALUE - 100; AtomicBackoff backoff = new AtomicBackoff("test", tooLarge); backoff.getState().backoff(); assertEquals(tooLarge, backoff.getState().get()); }
public State getState() { return new State(value.get()); }
AtomicBackoff { public State getState() { return new State(value.get()); } }
AtomicBackoff { public State getState() { return new State(value.get()); } AtomicBackoff(String name, long value); }
AtomicBackoff { public State getState() { return new State(value.get()); } AtomicBackoff(String name, long value); State getState(); }
AtomicBackoff { public State getState() { return new State(value.get()); } AtomicBackoff(String name, long value); State getState();  }