public class BlockOutStream extends OutStream
BlockOutStream implementation of TachyonFile. This class is not client facing.mFile, mTachyonFS, mUserConf, mWriteType| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel the write operations to the OutStream
|
boolean |
canWrite() |
void |
close() |
void |
flush() |
long |
getBlockId() |
long |
getBlockOffset() |
long |
getRemainingSpaceByte() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
public void cancel()
throws IOException
OutStreamcancel in class OutStreamIOExceptionpublic boolean canWrite()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutStreamIOExceptionpublic long getBlockId()
public long getBlockOffset()
public long getRemainingSpaceByte()
public void write(byte[] b)
throws IOException
write in class OutStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutStreamIOExceptionCopyright © 2015. All Rights Reserved.