public class DeferredScatterOutputStream
extends java.lang.Object
implements org.apache.commons.compress.parallel.ScatterGatherBackingStore
| Modifier and Type | Field and Description |
|---|---|
private OffloadingOutputStream |
dfos |
| Constructor and Description |
|---|
DeferredScatterOutputStream(int threshold) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeForWriting() |
java.io.InputStream |
getInputStream() |
void |
writeOut(byte[] data,
int offset,
int length) |
private final OffloadingOutputStream dfos
public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in interface org.apache.commons.compress.parallel.ScatterGatherBackingStorejava.io.IOExceptionpublic void writeOut(byte[] data,
int offset,
int length)
throws java.io.IOException
writeOut in interface org.apache.commons.compress.parallel.ScatterGatherBackingStorejava.io.IOExceptionpublic void closeForWriting()
throws java.io.IOException
closeForWriting in interface org.apache.commons.compress.parallel.ScatterGatherBackingStorejava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException