@Test public void backoff_doesNotChangeStateGet() { AtomicBackoff backoff = new AtomicBackoff("test", 8); AtomicBackoff.State state = backoff.getState(); assertEquals(8, state.get()); state.backoff(); assertEquals(8, state.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();  }