/*
* Wait tasks termination using the Phaser and then display processing
* state
*/
// There only 1 phase in our sample (phase start from zero)
phaser.awaitAdvance(0);
/* Display tasks processing state */
int i = 0;
for (FileCounterRecursiveTaskWithPhaser task : tasks) {
System.out.printf(" ** Task for drive [%s:\\] processing status **\n", alphabet.charAt(i));