Class FastPipedOutputStream

java.lang.Object
java.io.OutputStream
hudson.remoting.FastPipedOutputStream
All Implemented Interfaces:
ErrorPropagatingOutputStream, Closeable, Flushable, AutoCloseable

public class FastPipedOutputStream extends OutputStream implements ErrorPropagatingOutputStream
This class is equivalent to java.io.PipedOutputStream. In the interface it only adds a constructor which allows for specifying the buffer size. Its implementation, however, is much simpler and a lot more efficient than its equivalent. It doesn't rely on polling. Instead it uses proper synchronization with its counterpart FastPipedInputStream.
Author:
WD
See Also: