Archive

Posts Tagged ‘unittesting’

3, 2, 1, Go! A CountdownLatch in practice

Recently, I attended a talk titled ‘the Well-grounded Java Developer’, at Devoxx ’11. The authors of the similarly named book convinced me once more that the java.util.concurrent package in the JDK contains a lot of useful classes and concepts that deserve a closer look. The package should definitely keep you from re-inventing the wheel.

Thus, it reminded me of how we put a CountdownLatch to actual use in a recent project.
In this post we will show you how.

Read more…

Follow

Get every new post delivered to your Inbox.