Package io.activej.csp.process.frames
Class LZ4LegacyFrameFormat
java.lang.Object
io.activej.csp.process.frames.LZ4LegacyFrameFormat
- All Implemented Interfaces:
io.activej.common.initializer.WithInitializer<LZ4LegacyFrameFormat>,FrameFormat
@Deprecated
public final class LZ4LegacyFrameFormat
extends Object
implements FrameFormat, io.activej.common.initializer.WithInitializer<LZ4LegacyFrameFormat>
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionstatic LZ4LegacyFrameFormatcreate()Deprecated.static LZ4LegacyFrameFormatcreate(net.jpountz.lz4.LZ4Factory lz4Factory, net.jpountz.xxhash.XXHashFactory hashFactory) Deprecated.Deprecated.Creates a decoder which decodes data encoded byBlockEncoderDeprecated.Creates an encoder which transforms input bufs into bufs of encoded datawithCompressionLevel(int compressionLevel) Deprecated.Deprecated.withIgnoreMissingEndOfStream(boolean ignore) Deprecated.withLegacyChecksum(boolean legacyChecksum) Deprecated.Methods 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
withInitializer
-
Method Details
-
create
Deprecated. -
create
public static LZ4LegacyFrameFormat create(net.jpountz.lz4.LZ4Factory lz4Factory, net.jpountz.xxhash.XXHashFactory hashFactory) Deprecated. -
withHighCompression
Deprecated. -
withCompressionLevel
Deprecated. -
withIgnoreMissingEndOfStream
Deprecated. -
withLegacyChecksum
Deprecated.Whether streaming hash will be used as aChecksum, same as in LZ4 library stream encoder/decoderUseful for interoperation with
LZ4BlockOutputStreamandLZ4BlockInputStream -
createEncoder
Deprecated.Description copied from interface:FrameFormatCreates an encoder which transforms input bufs into bufs of encoded data- Specified by:
createEncoderin interfaceFrameFormat- Returns:
- block encoder
-
createDecoder
Deprecated.Description copied from interface:FrameFormatCreates a decoder which decodes data encoded byBlockEncoder- Specified by:
createDecoderin interfaceFrameFormat- Returns:
- block decoder
-