public class ParallelGZIPOutputStream extends FilterOutputStream
out| Constructor and Description |
|---|
ParallelGZIPOutputStream(OutputStream out)
Creates a ParallelGZIPOutputStream
using
ParallelGZIPEnvironment.getSharedThreadPool(). |
ParallelGZIPOutputStream(OutputStream out,
ExecutorService executor) |
ParallelGZIPOutputStream(OutputStream out,
ExecutorService executor,
int nthreads)
Deprecated.
|
ParallelGZIPOutputStream(OutputStream out,
int nthreads)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
@Deprecated public ParallelGZIPOutputStream(@Nonnull OutputStream out, @Nonnull ExecutorService executor, @Nonnegative int nthreads) throws IOException
IOException@Deprecated public ParallelGZIPOutputStream(@Nonnull OutputStream out, @Nonnegative int nthreads) throws IOException
ParallelGZIPEnvironment.getSharedThreadPool().out - the eventual output stream for the compressed data.IOException - if it all goes wrong.public ParallelGZIPOutputStream(@Nonnull OutputStream out, @Nonnull ExecutorService executor) throws IOException
IOExceptionpublic ParallelGZIPOutputStream(@Nonnull OutputStream out) throws IOException
ParallelGZIPEnvironment.getSharedThreadPool().out - the eventual output stream for the compressed data.IOException - if it all goes wrong.public void write(int b)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class FilterOutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterOutputStreamIOExceptionCopyright © 2023. All rights reserved.