RxJava



rx
Class Scheduler.Inner

java.lang.Object
  extended by rx.Scheduler.Inner
All Implemented Interfaces:
Subscription
Enclosing class:
Scheduler

public abstract static class Scheduler.Inner
extends java.lang.Object
implements Subscription


Constructor Summary
Scheduler.Inner()
           
 
Method Summary
 long now()
           
abstract  void schedule(Action1<Scheduler.Inner> action)
          Schedules a cancelable action to be executed in delayTime.
abstract  void schedule(Action1<Scheduler.Inner> action, long delayTime, java.util.concurrent.TimeUnit unit)
          Schedules an action to be executed in delayTime.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface rx.Subscription
isUnsubscribed, unsubscribe
 

Constructor Detail

Scheduler.Inner

public Scheduler.Inner()
Method Detail

schedule

public abstract void schedule(Action1<Scheduler.Inner> action,
                              long delayTime,
                              java.util.concurrent.TimeUnit unit)
Schedules an action to be executed in delayTime.

Parameters:
delayTime - time the action is to be delayed before executing
unit - time unit of the delay time

schedule

public abstract void schedule(Action1<Scheduler.Inner> action)
Schedules a cancelable action to be executed in delayTime.


now

public long now()
Returns:
the scheduler's notion of current absolute time in milliseconds.