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) |
flush
public void cancel() throws IOException
AtomicOutputStream
Cancel all of the writes associated with this stream and close it.
cancel
in class AtomicOutputStream
IOException
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, 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
Copyright © 2020 The Apache Software Foundation. All rights reserved.