protected class BlobStore.BlobStoreFileOutputStream extends AtomicOutputStream
Output stream implementation used for reading the metadata and data information.
| Constructor and Description |
|---|
BlobStoreFileOutputStream(BlobStoreFile part) |
| 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 BlobStoreFileOutputStream(BlobStoreFile part) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic 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 OutputStreamIOExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.