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()
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
OutStream
cancel
in class OutStream
IOException
public boolean canWrite()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutStream
IOException
public long getBlockId()
public long getBlockOffset()
public long getRemainingSpaceByte()
public void write(byte[] b) throws IOException
write
in class OutStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutStream
IOException
public void write(int b) throws IOException
write
in class OutStream
IOException
Copyright © 2014. All rights reserved.