Class AtomicBooleanArray

java.lang.Object
com.couchbase.client.dcp.util.AtomicBooleanArray

public class AtomicBooleanArray extends Object
A boolean array in which elements may be updated atomically.
  • Constructor Details

    • AtomicBooleanArray

      public AtomicBooleanArray(int length)
      Creates a new AtomicBooleanArray of the given length, with all elements initially false.
      Parameters:
      length - the length of the array
  • Method Details

    • get

      public boolean get(int index)
    • set

      public void set(int index, boolean value)
    • length

      public int length()