Class FastByteBufferQueueInputStream

java.lang.Object
java.io.InputStream
org.jenkinsci.remoting.util.FastByteBufferQueueInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class FastByteBufferQueueInputStream extends InputStream
An InputStream backed by a set number of bytes from the head of a ByteBufferQueue. Assumes that the backing ByteBufferQueue will not be read by another thread during calls to read() so all methods are non-blocking. Does not support mark(int).
Since:
3.0