Gary, I would have insisted to change it to something more usefull in ligic of this class.
Spring code has been always an exemplar for me. It  taught me how to use patterns, build KISS & DRY solutions. And, of course, Spring contains a lot of ready-made algorithms.
In this case end-developers will be a bit confused seeing this code and it takes some time to understand what's going on.
From other side, we can live with it, a fortiori we develop framework, where no need much Java code :smile: 
BTW, the main reason why I've looked at this PR: "how can I 'tail' on Windows?" But I see noisy `CountDownLatch`...