java - How FutureTask also acts like a latch? -


a quote jcip:

"futuretask acts latch."

  • how ?

futuretask.get() wait completion of task countdownlatch.await(). both blocking methods, have overloaded variant timeout.


Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -