@ThreadSafe public final class AtomicBackoff.State extends Object
Modifier and Type | Method and Description |
---|---|
void |
backoff()
Causes future invocations of
AtomicBackoff.getState() to have a value at least double
this state's value. |
long |
get() |
public long get()
public void backoff()
AtomicBackoff.getState()
to have a value at least double
this state's value. Subsequent calls to this method will not increase the value further.Copyright © 2019. All rights reserved.