Package org.jenkinsci.remoting.util
Class ByteBufferQueueOutputStream
java.lang.Object
java.io.OutputStream
org.jenkinsci.remoting.util.ByteBufferQueueOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
An
OutputStream
backed by a ByteBufferQueue
.- Since:
- 3.0
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write
-
Constructor Details
-
ByteBufferQueueOutputStream
Creates a new instance.- Parameters:
queue
- the backing queue.
-
-
Method Details
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-