public abstract class OutStream extends OutputStream
OutStream is the base output stream class for TachyonFile streaming output methods.
It can only be gotten by calling the methods in tachyon.client.TachyonFile, but
can not be initialized by the client code.| Modifier and Type | Field and Description |
|---|---|
protected TachyonFile |
FILE |
protected TachyonFS |
TFS |
protected UserConf |
USER_CONF |
protected WriteType |
WRITE_TYPE |
protected final UserConf USER_CONF
protected final TachyonFile FILE
protected final TachyonFS TFS
protected final WriteType WRITE_TYPE
public abstract void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic abstract void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic abstract void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic abstract void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic abstract void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic abstract void cancel()
throws IOException
IOExceptionCopyright © 2014. All rights reserved.