Class FastPipedInputStream

java.lang.Object
java.io.InputStream
hudson.remoting.FastPipedInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class FastPipedInputStream extends InputStream
This class is equivalent to PipedInputStream. 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 FastPipedOutputStream.
Author:
WD
See Also: