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.ScatterGatherBackingStore
java.io.IOException
public void writeOut(byte[] data, int offset, int length) throws java.io.IOException
writeOut
in interface org.apache.commons.compress.parallel.ScatterGatherBackingStore
java.io.IOException
public void closeForWriting() throws java.io.IOException
closeForWriting
in interface org.apache.commons.compress.parallel.ScatterGatherBackingStore
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException