Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schedulers (merge of pull #199) #225

Merged
merged 26 commits into from
Apr 5, 2013

Commits on Mar 14, 2013

  1. Configuration menu
    Copy the full SHA
    dfc7841 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2013

  1. Configuration menu
    Copy the full SHA
    0aa6ca2 View commit details
    Browse the repository at this point in the history
  2. Added to Schedulers

    mairbek committed Mar 18, 2013
    Configuration menu
    Copy the full SHA
    1896da3 View commit details
    Browse the repository at this point in the history
  3. More tests

    mairbek committed Mar 18, 2013
    Configuration menu
    Copy the full SHA
    9eb111e View commit details
    Browse the repository at this point in the history
  4. Headers

    mairbek committed Mar 18, 2013
    Configuration menu
    Copy the full SHA
    86a750c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    df09fcb View commit details
    Browse the repository at this point in the history
  6. Some documentation

    mairbek committed Mar 18, 2013
    Configuration menu
    Copy the full SHA
    2d1c45d View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2013

  1. Documenting code

    mairbek committed Mar 19, 2013
    Configuration menu
    Copy the full SHA
    db9f9a6 View commit details
    Browse the repository at this point in the history
  2. renamed tests

    mairbek committed Mar 19, 2013
    Configuration menu
    Copy the full SHA
    eaa0316 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    81ee35d View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2013

  1. Configuration menu
    Copy the full SHA
    bd32659 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2013

  1. Removed SleepingAction from Abstract scheduler.

    ExecutorScheduler throws exception for the delayed action.
    mairbek committed Apr 3, 2013
    Configuration menu
    Copy the full SHA
    b24b42f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9cfb294 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2013

  1. Merge branch 'schedulers' of git://github.com/mairbek/RxJava into sch…

    …edulers-merge
    
    Conflicts:
    	rxjava-core/src/main/java/rx/Observable.java
    benjchristensen committed Apr 5, 2013
    Configuration menu
    Copy the full SHA
    48ec950 View commit details
    Browse the repository at this point in the history
  2. Keeping ScheduledObserver out of public API

    For now keeping ScheduledObserver an implementation detail until it's clear we want it part of the long-term public API.
    benjchristensen committed Apr 5, 2013
    Configuration menu
    Copy the full SHA
    4510b6e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a78d756 View commit details
    Browse the repository at this point in the history
  4. Consolidating ExecutorScheduler and ScheduledExecutorScheduler

    ScheduledExecutorScheduler is just an extension of ExecutorScheduler so keeping them together for less surface area on the API.
    benjchristensen committed Apr 5, 2013
    Configuration menu
    Copy the full SHA
    a6ccf5a View commit details
    Browse the repository at this point in the history
  5. Make ForwardingScheduler Internal

    Until there is a use case other than unit testing I'm moving this to a non-public role so it's not part of the public API.
    benjchristensen committed Apr 5, 2013
    Configuration menu
    Copy the full SHA
    a8292de View commit details
    Browse the repository at this point in the history
  6. Tweaks to Executor/ExecutorScheduler/IOScheduler and Javadocs

    - added Javadocs
    - moved some classes to package-private until they are proven necessary for the public API
    - made ExecutorScheduler support Executor implementations and still work with time delays by using a system-wide scheduler/timer
    - made IO thread-pool unbounded with a cached thread pool
    benjchristensen committed Apr 5, 2013
    Configuration menu
    Copy the full SHA
    7c6a14d View commit details
    Browse the repository at this point in the history
  7. Basic unit tests

    - I plan on using this to expand unit testing around various aspects of schedulers
    - this is not done as an inner-class as it does not correlate with just one class but is cross-functional over many classes thus it fits best here
    benjchristensen committed Apr 5, 2013
    Configuration menu
    Copy the full SHA
    57875b0 View commit details
    Browse the repository at this point in the history
  8. Scheduler overloads for Subscribe, ToObservable, From, Merge, Empty

    - the list of operators to add overloads to was derived from the Rx.Net docs at http://msdn.microsoft.com/en-us/library/hh212048(v=vs.103).aspx
    benjchristensen committed Apr 5, 2013
    Configuration menu
    Copy the full SHA
    54c1dfd View commit details
    Browse the repository at this point in the history
  9. Set threads to daemons so they don't prevent system from exiting

    - This applies to any pools RxJava itself creates. It will be up to users to do this for Executors they inject.
    benjchristensen committed Apr 5, 2013
    Configuration menu
    Copy the full SHA
    52bf7e1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    56bd8db View commit details
    Browse the repository at this point in the history
  11. Use long instead of int

     … considering very long running app with lots of IO events.
    benjchristensen committed Apr 5, 2013
    Configuration menu
    Copy the full SHA
    cfca6fd View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d35b3e7 View commit details
    Browse the repository at this point in the history
  13. Removing Scheduler overloads on operators (for now)

    I have some outstanding questions on how these should be implemented (or even why we need them when the 'subscribeOn' operator is far cleaner) so want to remove them for now so they don't make it into the public incorrectly.
    benjchristensen committed Apr 5, 2013
    Configuration menu
    Copy the full SHA
    97fbcc7 View commit details
    Browse the repository at this point in the history