Join Slack
Powered by
Continued over from <#C0922A726>. There's a non-bl...
# kovenant
a
andrewoma
10/05/2015, 10:37 AM
Continued over from
#C0922A726
. There's a non-blocking variant:
http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Semaphore.html#tryAcquire-int-
However, as I said earlier, I'm not sure what you'd do with the request if blocked other than requeue the request. Anyway, I'll leave you to it.
2
Views
Open in Slack
Previous
Next