Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A little progress towards Issue #50. This combines SimpleSchedulerLim…
…iter and SubmitterSchedulerLimiter into one (simpler) class called "SchedulerLimiter". This reduced a lot of code, as well as provided a MUCH simpler simplementation compared to what SubmitterSchedulerLimiter used to be. This change also exposed a defect in PriorityScheduledExecutor with removal of callables which are wrapped in runnables. This commit fixes that in order to fix the unit tests. We still need to look at what we are going to do for the PrioritySchedulerLimiter, but I may wait on that for now, since those changes will be more dramatic (and possibly more risky). It was important for me to do these before 1.0.0 release because these changes break the API/interface.
- Loading branch information
Mike Jensen
committed
Dec 31, 2013
1 parent
262b3dd
commit 4783b2b
Showing
5 changed files
with
143 additions
and
741 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.