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 |
Modifier and Type | Method and Description |
---|---|
abstract void |
cancel()
Cancel the write operations to the OutStream
|
abstract void |
close() |
abstract void |
flush() |
abstract void |
write(byte[] b) |
abstract void |
write(byte[] b,
int off,
int len) |
abstract void |
write(int b) |
protected final UserConf USER_CONF
protected final TachyonFile FILE
protected final TachyonFS TFS
protected final WriteType WRITE_TYPE
public abstract void cancel() throws IOException
IOException
public abstract void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
public abstract void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public abstract void write(byte[] b) throws IOException
write
in class OutputStream
IOException
public abstract void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public abstract void write(int b) throws IOException
write
in class OutputStream
IOException
Copyright © 2014. All rights reserved.