@ThreadSafe public final class AtomicBackoff extends Object
long
atomically updated due to errors caused by the value being too small.Modifier and Type | Class and Description |
---|---|
class |
AtomicBackoff.State |
Constructor and Description |
---|
AtomicBackoff(String name,
long value)
Construct an atomic with initial value
value . |
public AtomicBackoff(String name, long value)
value
. name
is used for logging.public AtomicBackoff.State getState()
Copyright © 2019. All rights reserved.