draft Carrier API

Doug Lea dl at cs.oswego.edu
Mon Mar 9 12:50:31 UTC 2020

On 3/8/20 6:59 PM, Kasper Nielsen wrote:
> Just a quick comment,
> I would much prefer if Carrier stuck with using the standard [long
> timeout, TimeUnit unit]
> used throughout java.util.concurrent. Instead of adopting Duration for
> a single class.

Right. Actually, include both. I listed it without TimeUnit overloads
mainly as a check that we'd get responses confirming that current
BlockingQueue etc users would consider Carrier as an alternative.

(See updates at http://gee.cs.oswego.edu/dl/wwwtmp/Carrier.java)


More information about the loom-dev mailing list