Package io.grpc.internal
Class AtomicBackoff
java.lang.Object
io.grpc.internal.AtomicBackoff
A
long
atomically updated due to errors caused by the value being too small.-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAtomicBackoff
(String name, long value) Construct an atomic with initial valuevalue
. -
Method Summary
-
Constructor Details
-
AtomicBackoff
Construct an atomic with initial valuevalue
.name
is used for logging.
-
-
Method Details
-
getState
Returns the current state. The state instance's value does not change of time.
-