Class LZ4Legacy.Builder
java.lang.Object
io.activej.common.builder.AbstractBuilder<LZ4Legacy.Builder,LZ4Legacy>
io.activej.csp.process.frame.impl.LZ4Legacy.Builder
- All Implemented Interfaces:
io.activej.common.builder.Builder<LZ4Legacy>,io.activej.common.initializer.WithInitializer<LZ4Legacy.Builder>
- Enclosing class:
- LZ4Legacy
public final class LZ4Legacy.Builder
extends io.activej.common.builder.AbstractBuilder<LZ4Legacy.Builder,LZ4Legacy>
-
Method Summary
Modifier and TypeMethodDescriptionprotected LZ4LegacydoBuild()withCompressionLevel(int compressionLevel) withHashFactory(net.jpountz.xxhash.XXHashFactory factory) withIgnoreMissingEndOfStream(boolean ignore) withLegacyChecksum(boolean legacyChecksum) Deprecated.withLZ4Factory(net.jpountz.lz4.LZ4Factory factory) Methods inherited from class io.activej.common.builder.AbstractBuilder
build, checkNotBuilt, isBuiltMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.activej.common.initializer.WithInitializer
initialize, set, setIf, setIfNotNull
-
Method Details
-
withLZ4Factory
-
withHashFactory
-
withHighCompression
-
withCompressionLevel
-
withIgnoreMissingEndOfStream
-
withLegacyChecksum
Deprecated.Whether streaming hash will be used as aChecksum, same as in LZ4 library stream encoder/decoderUseful for interoperation with
LZ4BlockOutputStreamandLZ4BlockInputStream -
doBuild
- Specified by:
doBuildin classio.activej.common.builder.AbstractBuilder<LZ4Legacy.Builder,LZ4Legacy>
-