|
||||||||||
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.ScatterOutputStream
Class for scattering buffered writes accross multiple threads.
ParallelIO.GatherOutputStream
Constructor Summary | |
ParallelIO.ScatterOutputStream(java.io.OutputStream delegee,
sam.toolkit.Workshop workshop)
|
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)
Writes data using multiple threads 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.ScatterOutputStream(java.io.OutputStream delegee, sam.toolkit.Workshop workshop)
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 |