- All Implemented Interfaces:
- Iterable<T>, IConcurrentSet<T>
- Direct Known Subclasses:
- StrongConcurrentSet, WeakConcurrentSet
public abstract class AbstractConcurrentSet<T>
extends Object
implements IConcurrentSet<T>
This data structure is optimized for non-blocking reads even when write operations occur.
Running read iterators will not be affected by add operations since writes always insert at the head of the
structure. Remove operations can affect any running iterator such that a removed element that has not yet
been reached by the iterator will not appear in that iterator anymore.
- Author:
- bennidi
Date: 2/12/12