Package org.opends.server.backup
Interface BackupManager.CountedIterator<E>
- Type Parameters:
E
- the type of elements being iterated
- All Superinterfaces:
Iterator<E>
- All Known Implementing Classes:
BackupManager.FixedBackendIterator
- Enclosing class:
- BackupManager
Iterator able to return a count of progress and the total number of items to be processed.
-
Method Summary
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
count
int count()Return the number of iterations so far.- Returns:
- the number of iterations.
-
total
int total()Return the total number of possible iterations, which could change over time.- Returns:
- the total number of iterations.
-