tachyon.client
Class OutStream

java.lang.Object
  extended by java.io.OutputStream
      extended by tachyon.client.OutStream
All Implemented Interfaces:
Closeable, Flushable

public class OutStream
extends OutputStream

OutputStream interface implementation of TachyonFile. It can only be gotten by calling the methods in tachyon.client.TachyonFile, but can not be initialized by the client code.


Method Summary
 void cancel()
           
 void close()
           
 void write(ArrayList<ByteBuffer> bufs)
           
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(ByteBuffer buf)
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
flush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

write

public void write(int b)
           throws IOException
Specified by:
write in class OutputStream
Throws:
IOException

write

public void write(byte[] b)
           throws IOException
Overrides:
write in class OutputStream
Throws:
IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
Overrides:
write in class OutputStream
Throws:
IOException

write

public void write(ByteBuffer buf)
           throws IOException
Throws:
IOException

write

public void write(ArrayList<ByteBuffer> bufs)
           throws IOException
Throws:
IOException

cancel

public void cancel()
            throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class OutputStream
Throws:
IOException


Copyright © 2013. All Rights Reserved.