Package io.grpc.internal
Class AtomicBackoff.State
java.lang.Object
io.grpc.internal.AtomicBackoff.State
- Enclosing class:
AtomicBackoff
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
backoff()
Causes future invocations ofAtomicBackoff.getState()
to have a value at least double this state's value.long
get()
-
Field Details
-
savedValue
private final long savedValue
-
-
Constructor Details
-
State
private State(long value)
-
-
Method Details
-
get
public long get() -
backoff
public void backoff()Causes future invocations ofAtomicBackoff.getState()
to have a value at least double this state's value. Subsequent calls to this method will not increase the value further.
-