|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.OutputStream | +--sam.io.ParallelIO.GatherOutputStream
Class for gathring buffered writes from multiple threads.
ParallelIO.ScatterOutputStream
Constructor Summary | |
ParallelIO.GatherOutputStream(java.io.OutputStream delegee)
|
Method Summary | |
void |
close()
Simply forwards the closing call to the underlying stream |
void |
flush()
Simply forwards the flushing call to the underlying stream |
void |
write(byte[] data,
int begin,
int length)
Gathers data written by possibly multiple threads (and thus out-of-order) to the underlying stream |
void |
write(int b)
Simply writes the single byte on the underlying stream |
Methods inherited from class java.io.OutputStream |
write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ParallelIO.GatherOutputStream(java.io.OutputStream delegee)
Method Detail |
public void flush() throws java.io.IOException
flush
in class java.io.OutputStream
java.io.IOException
public void close() throws java.io.IOException
close
in class java.io.OutputStream
java.io.IOException
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] data, int begin, int length) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |