Using a phaser rather than 2 count down latches
Introduction
I came across an excellent article listed in Baeldung's Java weekly.The article title is How to use the Java CountDownLatch.I just wanted to build on that article and use a Phaser as an alternative.
Overview
In the last code example, of ...
sammoulem.hashnode.dev2 min read