polling
polling copied to clipboard
More examples
@dyng I'm about to start using your polling library. Thank you for publishing it. I could use some more examples of how you intended it be used. There is the Polling facade class. You have one example of how to use it in the README. There is also one implementation of DefaultPoller, but no examples. Examples for PollerBuilder would be welcome.
Do I create one instance of a Poller for every polling job? That is, if I have to poll for 1,000 things, I would create 1,000 instances of a Poller?
Also, what if I want the Poller to use a thread pool? I think I would do that in the PollerBuilder method withExecutorService. Is that right?
Here is my proof-of-concept https://github.com/ahoffer/poller-demo