Interface Compressor

    • Method Detail

      • compress

        com.google.common.util.concurrent.ListenableFuture<CompressionResult> compress​(CloseableByteSource source,
                                                                                       ByteStorage storage)
        Compresses an entry source.
        Parameters:
        source - the source to compress
        storage - a byte storage from where the compressor can obtain byte sources to work
        Returns:
        a future that will eventually contain the compression result