T - the type of elementspublic static final class Resume.RetryCount<T> extends java.lang.Object implements Observable<T>
count retry count was used up.| Modifier and Type | Field and Description |
|---|---|
protected int |
count |
protected Observable<? extends T> |
source |
| Constructor and Description |
|---|
RetryCount(Observable<? extends T> source,
int count)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.Closeable |
register(Observer<? super T> observer)
Registers an observer for the notification of Ts.
|
protected final Observable<? extends T> source
protected final int count
public RetryCount(Observable<? extends T> source, int count)
source - the source sequencecount - the number of retries@Nonnull
public java.io.Closeable register(@Nonnull
Observer<? super T> observer)
Observableregister in interface Observable<T>observer - the observer of Ts or any supertype of it