@NotThreadSafe public final class DummyFileOutputStream extends FileOutStream
mUri
mBytesWritten
Constructor and Description |
---|
DummyFileOutputStream(AlluxioURI path,
OutStreamOptions options)
Constructs a new dummy file output stream.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
cancel, scheduleAsyncPersist
getBytesWritten
public DummyFileOutputStream(AlluxioURI path, OutStreamOptions options) throws IOException
path
- the path of the fileoptions
- the set of options specific to this operationIOException
public void flush()
flush
in interface Flushable
flush
in class FileOutStream
public void write(int b)
write
in class FileOutStream
public void write(byte[] b)
write
in class FileOutStream
public void write(byte[] b, int off, int len)
write
in class FileOutStream
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class FileOutStream
Copyright © 2023. All Rights Reserved.