Class AtomicUtils
java.lang.Object
com.atlassian.bamboo.utils.concurrent.AtomicUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidand(AtomicBoolean atomicBoolean, boolean value) static voidand(AtomicReference<Boolean> atomicBoolean, boolean value) static voidor(AtomicBoolean atomicBoolean, boolean value) static voidor(AtomicReference<Boolean> atomicBoolean, boolean value) static <T> voidsetIfNotNull(@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.
-