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) |
flush
public BlobStoreFileOutputStream(BlobStoreFile part) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
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
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.