presto-rcfile/src/main/java/io/prestosql/rcfile/RcFileCompressor.java/CompressedSliceOutput/CompressedSliceOutput
class CompressedSliceOutput:        public CompressedSliceOutput(OutputStream compressionStream, ChunkedSliceOutput bufferedOutput, Supplier<CompressedSliceOutput> resetFactory, Runnable onDestroy)
        {
            super(compressionStream);
            this.bufferedOutput = requireNonNull(bufferedOutput, "bufferedOutput is null");
            this.resetFactory = requireNonNull(resetFactory, "resetFactory is null");
            this.onDestroy = requireNonNull(onDestroy, "onDestroy is null");
        }