Package io.grpc.internal
Class AtomicBackoff
- java.lang.Object
-
- io.grpc.internal.AtomicBackoff
-
@ThreadSafe public final class AtomicBackoff extends java.lang.Object
Along
atomically updated due to errors caused by the value being too small.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
AtomicBackoff.State
-
Constructor Summary
Constructors Constructor Description AtomicBackoff(java.lang.String name, long value)
Construct an atomic with initial valuevalue
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AtomicBackoff.State
getState()
Returns the current state.
-
-
-
Method Detail
-
getState
public AtomicBackoff.State getState()
Returns the current state. The state instance's value does not change of time.
-
-