public enum ConcurrencyStrategy extends Enum<ConcurrencyStrategy>
Enum Constant and Description |
---|
ATOMIC
Uses atomic compare-and-set (CAS) instructions to implement BloomFilter operations over AtomicLongArrays.
|
COPY_ON_WRITE
Treats Bloom Filters as effectively immutable objects and creates a copy when applying updates before
atomically swapping with the original.
|
SYNCHRONIZED
Fully synchronizes all accesses to the bloom filter.
|
Modifier and Type | Method and Description |
---|---|
static ConcurrencyStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConcurrencyStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConcurrencyStrategy COPY_ON_WRITE
public static final ConcurrencyStrategy SYNCHRONIZED
public static final ConcurrencyStrategy ATOMIC
public static ConcurrencyStrategy[] values()
for (ConcurrencyStrategy c : ConcurrencyStrategy.values()) System.out.println(c);
public static ConcurrencyStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2025 Open Identity Platform Community. All rights reserved.