Class IntrusiveStack<T extends IntrusiveStack<T>>

java.lang.Object
org.apache.cassandra.utils.concurrent.IntrusiveStack<T>
Type Parameters:
T -
All Implemented Interfaces:
Iterable<T>
Direct Known Subclasses:
FailureRecordingCallback.FailureResponses

public class IntrusiveStack<T extends IntrusiveStack<T>> extends Object implements Iterable<T>
An efficient stack/list that is expected to be ordinarily either empty or close to, and for which we need concurrent insertions and do not need to support removal - i.e. the list is semi immutable. This is an intrusive stack, and for simplicity we treat all