Skip to content

Commit 9d07b36

Browse files
Remove Unused Scheduler.parallelism
Before hitting 1.0 removing this API as it is not used.
1 parent 36a3bbd commit 9d07b36

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/main/java/rx/Scheduler.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -135,18 +135,6 @@ public long now() {
135135
}
136136
}
137137

138-
/**
139-
* Indicates the parallelism available to this Scheduler.
140-
* <p>
141-
* This defaults to {@code Runtime.getRuntime().availableProcessors()} but can be overridden for use cases
142-
* such as scheduling work on a computer cluster.
143-
*
144-
* @return the scheduler's available degree of parallelism
145-
*/
146-
public int parallelism() {
147-
return Runtime.getRuntime().availableProcessors();
148-
}
149-
150138
/**
151139
* Gets the current time, in milliseconds, according to this Scheduler.
152140
*

0 commit comments

Comments
 (0)