public class QpidByteBufferOutputStream extends OutputStream
Constructor and Description |
---|
QpidByteBufferOutputStream(boolean isDirect,
int maximumBufferSize) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Collection<QpidByteBuffer> |
fetchAccumulatedBuffers() |
void |
write(byte[] data) |
void |
write(byte[] data,
int offset,
int len) |
void |
write(int b) |
flush
public QpidByteBufferOutputStream(boolean isDirect, int maximumBufferSize)
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] data) throws IOException
write
in class OutputStream
IOException
public void write(byte[] data, int offset, int len) throws IOException
write
in class OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
public Collection<QpidByteBuffer> fetchAccumulatedBuffers()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.