Package com.tangosol.net.partition
Interface VersionedPartitions.VersionedIterator
-
- All Superinterfaces:
Iterator<Long>
,VersionedPartitions.Iterator<Long>
- Enclosing interface:
- VersionedPartitions
public static interface VersionedPartitions.VersionedIterator extends VersionedPartitions.Iterator<Long>
An Iterator for partitions being tracked by aVersionedPartitions
implementation that allows retrieval of partition and version.This iterator allows for primitive types for partition and version to be returned, as well as progression of this iterator via
nextVersion()
orVersionedPartitions.Iterator.nextPartition()
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getVersion()
Return the current version.long
nextVersion()
Return the next version by progressing this iterator to the next element in this Iterator.-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Methods inherited from interface com.tangosol.net.partition.VersionedPartitions.Iterator
getPartition, nextPartition
-
-