Class QueueInputStream.Builder

All Implemented Interfaces:
IOSupplier<QueueInputStream>
Enclosing class:
QueueInputStream

Builds a new QueueInputStream.

For example:


 QueueInputStream s = QueueInputStream.builder()
   .setBlockingQueue(new LinkedBlockingQueue<>())
   .setTimeout(Duration.ZERO)
   .get();
 
Since:
2.12.0
See Also: