src/main/java/io/reactivex/Completable.java
@CheckReturnValue
    @SchedulerSupport(SchedulerSupport.NONE)
    public final Completable repeat(long times) {
        return fromPublisher(toFlowable().repeat(times));
    }
@CheckReturnValue
    @SchedulerSupport(SchedulerSupport.NONE)
    public final Completable repeat(long times) {
        return fromPublisher(toFlowable().repeat(times));
    }
Returns a Completable that subscribes repeatedly at most the given times to this Completable.
<p>
<img width="640" height="408" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable.repeat.n.png" alt="">
<dl>
<dt><b>Scheduler:</b></dt>
<dd>{@code repeat} does not operate by default on a particular {@link Scheduler}.</dd>
</dl>
@param times the number of times the resubscription should happen
@return the new Completable instance
@throws IllegalArgumentException if times is less than zero