src/main/java/io/reactivex/Maybe.java
@CheckReturnValue
    @SchedulerSupport(SchedulerSupport.NONE)
    public final Maybe<T> retry(long count) {
        return retry(count, Functions.alwaysTrue());
    }
@CheckReturnValue
    @SchedulerSupport(SchedulerSupport.NONE)
    public final Maybe<T> retry(long count) {
        return retry(count, Functions.alwaysTrue());
    }
Returns a Maybe that mirrors the source Maybe, resubscribing to it if it calls {@code onError}
up to a specified number of retries.
<p>
<img width="640" height="315" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/retry.png" alt="">
<p>
If the source Maybe calls {@link MaybeObserver#onError}, this method will resubscribe to the source
Maybe for a maximum of {@code count} resubscriptions rather than propagating the
{@code onError} call.
<dl>
<dt><b>Scheduler:</b></dt>
<dd>{@code retry} does not operate by default on a particular {@link Scheduler}.</dd>
</dl>

@param count
the number of times to resubscribe if the current Maybe fails
@return the new Maybe instance
@see <a href="http://reactivex.io/documentation/operators/retry.html">ReactiveX operators documentation: Retry</a>