Class AbstractReplicaCollection.ReplicaList

java.lang.Object
org.apache.cassandra.locator.AbstractReplicaCollection.ReplicaList
All Implemented Interfaces:
Iterable<Replica>
Enclosing class:
AbstractReplicaCollection<C extends AbstractReplicaCollection<C>>

protected static final class AbstractReplicaCollection.ReplicaList extends Object implements Iterable<Replica>
A simple list with no comodification checks and immutability by default (only append permitted, and only one initial copy) this permits us to reduce the amount of garbage generated, by not wrapping iterators or unnecessarily copying and reduces the amount of indirection necessary, as well as ensuring monomorphic callsites TODO flatten into AbstractReplicaCollection?