public class BlockOutStream extends OutStream
BlockOutStream implementation of TachyonFile. This class is not client facing.FILE, TFS, USER_CONF, WRITE_TYPE| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
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 write(int b)
throws IOException
write in class OutStreamIOExceptionpublic 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 flush()
throws IOException
flush in interface Flushableflush in class OutStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutStreamIOExceptionpublic void cancel()
throws IOException
cancel in class OutStreamIOExceptionpublic boolean canWrite()
public long getRemainingSpaceByte()
public long getBlockId()
public long getBlockOffset()
Copyright © 2014. All rights reserved.