public interface AtomicValue<T>
Modifier and Type | Method and Description |
---|---|
AtomicStats |
getStats()
Returns debugging stats about the operation
|
T |
postValue()
Returns the value of the counter after to the operation
|
T |
preValue()
Returns the value of the counter prior to the operation
|
boolean |
succeeded()
MUST be checked. Returns true if the operation succeeded.
|
boolean succeeded()
T preValue()
T postValue()
AtomicStats getStats()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.