public class NimbusBlobStore.NimbusUploadAtomicOutputStream extends AtomicOutputStream
| Constructor and Description |
|---|
NimbusUploadAtomicOutputStream(String session,
int bufferSize,
String key) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel all of the writes associated with this stream and close it.
|
void |
close() |
void |
write(byte[] b) |
void |
write(byte[] b,
int offset,
int len) |
void |
write(int b) |
flushpublic void cancel()
throws IOException
AtomicOutputStreamCancel all of the writes associated with this stream and close it.
cancel in class AtomicOutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int offset,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.