I was reading this page on how to use Spring's Asynchronous calls: http://ift.tt/1FecHbi
This stems a few design questions:
1) Do you hide Asynchronous capabilities behind abstractions, or do you use them directly?
2) In the example link above, the code had a "while loop" checking each 10ms if each Async call had returned. Are there other ways to implement this, then an ongoing "while" loop? :) Doesn't feel very efficient...
Thanks!
Aucun commentaire:
Enregistrer un commentaire