-
Notifications
You must be signed in to change notification settings - Fork 6
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
Implementing PriorityScheduler based on ExecutorScheduler #4
Comments
Do you have anything in mind? What would be the added benefit? FTR, here's a discussion in Guava about a possible implementation of a |
For me the motivation is to keep it simple, go the shortest path and use what RxJava offers out of the box ( Here is a sketch how this could look like: upelsin@c50448cf91feca84cdcf1c0945126f6240436b21. |
I found there to be actually more complexity in this implementation and would still need tests since it only marginally uses the |
Your comments make sense, thanks for the discussion. |
@ronshapiro, what do you think about implementation of PriorityScheduler which is based on standard ExecutorScheduler?
There might be a
PriorityBlockingQueue
acceptingPriorityExecutorAction
s as a repacement for ExecutorScheduler'sConcurrentLinkedQueue
withExecutorAction
.The text was updated successfully, but these errors were encountered: