Package com.tangosol.net.partition
Interface VersionedPartitions.Iterator<T>
- Type Parameters:
T
- the type for this Iterator
- All Superinterfaces:
Iterator<T>
- All Known Subinterfaces:
VersionedPartitions.VersionedIterator
- Enclosing interface:
VersionedPartitions
An Iterator for partitions being tracked by a
VersionedPartitions
implementation that allows retrieval of the next partition as a primitive
.-
Method Summary
Modifier and TypeMethodDescriptionint
Return the current partition.int
Return and progress this Iterator to the next partition.Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
getPartition
int getPartition()Return the current partition.- Returns:
- the current partition
-
nextPartition
int nextPartition()Return and progress this Iterator to the next partition.- Returns:
- the next partition
-