Skip to content

Commit

Permalink
Merge pull request #1882 from benjchristensen/scheduler-parallelism
Browse files Browse the repository at this point in the history
Remove Unused Scheduler.parallelism
  • Loading branch information
benjchristensen committed Nov 15, 2014
2 parents 461aa7a + 9d07b36 commit c5fd708
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/main/java/rx/Scheduler.java
Original file line number Diff line number Diff line change
Expand Up @@ -137,18 +137,6 @@ public long now() {
}
}

/**
* Indicates the parallelism available to this Scheduler.
* <p>
* This defaults to {@code Runtime.getRuntime().availableProcessors()} but can be overridden for use cases
* such as scheduling work on a computer cluster.
*
* @return the scheduler's available degree of parallelism
*/
public int parallelism() {
return Runtime.getRuntime().availableProcessors();
}

/**
* Gets the current time, in milliseconds, according to this Scheduler.
*
Expand Down

0 comments on commit c5fd708

Please sign in to comment.