Class AtomicUtils
java.lang.Object
com.atlassian.bamboo.utils.concurrent.AtomicUtils
- Direct Known Subclasses:
AtomicUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
and
(AtomicBoolean atomicBoolean, boolean value) static void
and
(AtomicReference<Boolean> atomicBoolean, boolean value) static void
or
(AtomicBoolean atomicBoolean, boolean value) static void
or
(AtomicReference<Boolean> atomicBoolean, boolean value) static <T> void
setIfNotNull
(@NotNull AtomicReference<T> ref, T value) Sets a value if the supplied value is not null.
-
Constructor Details
-
AtomicUtils
protected AtomicUtils()
-
-
Method Details
-
or
-
and
-
or
-
and
-
setIfNotNull
Sets a value if the supplied value is not null.
-