|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.Base
com.tangosol.util.AbstractStableIterator
com.tangosol.net.partition.PartitionSplittingBackingMap.PartitionedIterator
public class PartitionSplittingBackingMap.PartitionedIterator
An Iterator designed to ensure that a stable copy of each partition's keys is available for the duration of the iteration over its keys.
This is primarily intended for use with the BinaryMap, which does not provide thread-safe iterators if the BinaryMap continues to be modified while the iteration is occurring.
Constructor Summary | |
---|---|
protected |
PartitionSplittingBackingMap.PartitionedIterator(java.util.Map[] amap) Construct PartitionedIterator based on the specified array of maps, where each map contains data for one and only one partition. |
Method Summary | |
---|---|
protected void |
advance() Advance to the next object. |
protected void |
remove(java.lang.Object oPrev) Remove the specified item. |
Methods inherited from class com.tangosol.util.AbstractStableIterator |
---|
getPrevious, hasNext, next, remove, setNext |
Constructor Detail |
---|
protected PartitionSplittingBackingMap.PartitionedIterator(java.util.Map[] amap)
amap
- an array of underlying mapsMethod Detail |
---|
protected void advance()
This method must be implemented by the concrete sub-class by calling AbstractStableIterator.setNext(java.lang.Object)
if there is a next object.
advance
in class AbstractStableIterator
protected void remove(java.lang.Object oPrev)
This is an optional operation. If the Iterator supports element removal, then it should implement this method, which is delegated to by the AbstractStableIterator.remove()
method.
remove
in class AbstractStableIterator
oPrev
- the previously iterated object that should be removed
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |