AtomicLongExtras
Attributes
- Graph
-
- Supertypes
-
class AnyValtrait Matchableclass Any
Members list
Value members
Concrete methods
Increments and returns the new value
Increments and returns the new value
Attributes
Adds the value and returns the new value
Adds the value and returns the new value
Attributes
Decrements and returns the new value
Decrements and returns the new value
Attributes
Subtracts the value and returns the new value
Subtracts the value and returns the new value
Attributes
Decrements the value if the current value is greater than the max value supplied.
Decrements the value if the current value is greater than the max value supplied.
This method is thread-safe without locking.
Attributes
Increments the value if the current value is less than the max value supplied.
Increments the value if the current value is less than the max value supplied.
This method is thread-safe without locking.
Attributes
Modifies the value atomicly without locking if the resulting value of the function is Some.
Modifies the value atomicly without locking if the resulting value of the function is Some.