IllegalArgumentException, which it extends.ListenableFutureCollector instead. The use of the
BlockingAsynchronousTaskController encourages splitting of Streams by accumulating
an Iterable of ListenableFutures inside the task
Supplier. Not only is that cumbersome to read but it is also not idiomatic for Streams and
bears the risk of accumulating a large number of Futures before finally waiting for
them.UnsupportedEncodingException for the
encoding "UTF-8" (which is guaranteed to be supported by the Java specs).NotNull and is intended to document that a field is optionalListenableFuture into a
ListenableFuture without result.InterruptedException.Thread.currentThread().interrupt(); before throwing this exception.Copyright © 2018. All rights reserved.