RxJava



rx.operators
Class OperationInterval

java.lang.Object
  extended by rx.operators.OperationInterval

public final class OperationInterval
extends java.lang.Object

Returns an observable sequence that produces a value after each period. The value starts at 0 and counts up each period.


Constructor Summary
OperationInterval()
           
 
Method Summary
static Observable.OnSubscribeFunc<java.lang.Long> interval(long interval, java.util.concurrent.TimeUnit unit)
          Creates an event each time interval.
static Observable.OnSubscribeFunc<java.lang.Long> interval(long interval, java.util.concurrent.TimeUnit unit, Scheduler scheduler)
          Creates an event each time interval.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationInterval

public OperationInterval()
Method Detail

interval

public static Observable.OnSubscribeFunc<java.lang.Long> interval(long interval,
                                                                  java.util.concurrent.TimeUnit unit)
Creates an event each time interval.


interval

public static Observable.OnSubscribeFunc<java.lang.Long> interval(long interval,
                                                                  java.util.concurrent.TimeUnit unit,
                                                                  Scheduler scheduler)
Creates an event each time interval.