Class AtomicUtils

java.lang.Object
com.atlassian.bamboo.utils.concurrent.AtomicUtils
Direct Known Subclasses:
AtomicUtils

public class AtomicUtils extends Object
  • Constructor Details

    • AtomicUtils

      protected AtomicUtils()
  • Method Details

    • or

      public static void or(AtomicBoolean atomicBoolean, boolean value)
    • and

      public static void and(AtomicBoolean atomicBoolean, boolean value)
    • or

      public static void or(AtomicReference<Boolean> atomicBoolean, boolean value)
    • and

      public static void and(AtomicReference<Boolean> atomicBoolean, boolean value)
    • setIfNotNull

      public static <T> void setIfNotNull(@NotNull @NotNull AtomicReference<T> ref, @Nullable T value)
      Sets a value if the supplied value is not null.