Class ParallelZipWriter.Sink

java.lang.Object
com.ljarocki.parallelzip.internal.ParallelZipWriter.Sink
Enclosing class:
ParallelZipWriter

public static final class ParallelZipWriter.Sink extends Object
A running compress-and-write pipeline. Entries are handed in via add(com.ljarocki.parallelzip.internal.ParallelZipWriter.Entry) (which blocks when the bounded in-flight window is full, providing backpressure), a worker pool compresses them, and a single writer thread streams them out in submission order. This lets a producer feed entries incrementally without materializing them all at once.