Package io.grpc.internal
Class AtomicBackoff.State
java.lang.Object
io.grpc.internal.AtomicBackoff.State
- Enclosing class:
AtomicBackoff
-
Method Summary
Modifier and TypeMethodDescriptionvoid
backoff()
Causes future invocations ofAtomicBackoff.getState()
to have a value at least double this state's value.long
get()
-
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.
-