- java.lang.Object
-
- org.jgroups.util.RingBufferSeqnoLockless.RingBufferIterator
-
-
Field Summary
Fields
Modifier and Type |
Field and Description |
protected java.util.concurrent.atomic.AtomicReferenceArray<T> |
buffer |
protected long |
current |
-
Constructor Summary
Constructors
Constructor and Description |
RingBufferIterator(java.util.concurrent.atomic.AtomicReferenceArray<T> buffer) |
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
Field Detail
-
current
protected long current
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator<T>
-
next
public T next()
- Specified by:
next
in interface java.util.Iterator<T>
-
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator<T>
Copyright © 1998-2020 Red Hat. All Rights Reserved.