- Type Parameters:
T - Type of items
- All Implemented Interfaces:
Iterator<T>
@Loggable(1)
public final class ReIterator<T>
extends Object
implements Iterator<T>
Frame that retries on failure.
- Since:
- 0.9
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ReIterator
Public ctor.
- Parameters:
iterator - Origin iterator
-
Method Details
-
hasNext
@RetryOnFailure(verbose=false,
delay=5L,
unit=SECONDS)
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<T>
-
-
remove
@RetryOnFailure(verbose=false,
delay=5L,
unit=SECONDS)
public void remove()
- Specified by:
remove in interface Iterator<T>