public class CrailBufferedOutputStream extends OutputStream
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
CrailNode |
getFile() |
long |
position() |
Future<CrailResult> |
purge() |
Future<Void> |
sync() |
void |
write(byte[] dataBuf) |
void |
write(byte[] dataBuf,
int off,
int len) |
void |
write(ByteBuffer dataBuf) |
void |
write(int dataBuf) |
void |
writeDouble(double value) |
void |
writeFloat(float value) |
void |
writeInt(int value) |
void |
writeLong(long value) |
void |
writeShort(short value) |
public final void write(int dataBuf)
throws IOException
write in class OutputStreamIOExceptionpublic final void write(byte[] dataBuf)
throws IOException
write in class OutputStreamIOExceptionpublic final void write(byte[] dataBuf,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic final void write(ByteBuffer dataBuf) throws IOException
IOExceptionpublic Future<CrailResult> purge() throws IOException
IOExceptionpublic Future<Void> sync() throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic long position()
public void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic CrailNode getFile() throws IOException
IOExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.