The beauty of Java’s CompletionService class and how it’s useful for managing a group of Futures in concurrent systems.
Tag Archives: concurrency
Under-appreciated Java Classes Part I: CompletionService
Posted by Marshall Pierce on 2009/04/29
11 comments
Extending Java’s Semaphore to Allow Dynamic Resizing
Posted by Marshall Pierce on 2009/04/20
5 comments
How to change the number of permits a Java Semaphore has after initialization by extending Semaphore to expose reducePermits(). Includes code.