You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rxj...@googlegroups.com
I was experimenting with a Scheduler that allows callers to specify priorities for when actions should be executed. Not sure if this is something people are interested in getting into the official library or to keep as a standalone package. Nonetheless, I'd appreciate any feedback: https://github.com/ronshapiro/rxjava-priority-scheduler
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ron Shapiro, rxj...@googlegroups.com
A Scheduler.Worker should be a sequential Scheduler for executing actions on a single thread or event loop. But looks PriorityWorker in your codes will schedule Actions to multiple threads?
Best Regards,
Shixiong Zhu
Ron Shapiro
unread,
Sep 16, 2014, 5:00:19 PM9/16/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
Now, instead of the worker just submitting the action to the PriorityQueue and the Scheduler's ExecutorService looping infinitely, the worker submits to the queue and initiates the job to process the item from the queue.