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 Details

    • create

      public static LZ4LegacyFrameFormat create()
      Deprecated.
    • create

      public static LZ4LegacyFrameFormat create(net.jpountz.lz4.LZ4Factory lz4Factory, net.jpountz.xxhash.XXHashFactory hashFactory)
      Deprecated.
    • withHighCompression

      public LZ4LegacyFrameFormat withHighCompression()
      Deprecated.
    • withCompressionLevel

      public LZ4LegacyFrameFormat withCompressionLevel(int compressionLevel)
      Deprecated.
    • withIgnoreMissingEndOfStream

      public LZ4LegacyFrameFormat withIgnoreMissingEndOfStream(boolean ignore)
      Deprecated.
    • withLegacyChecksum

      @Deprecated public LZ4LegacyFrameFormat withLegacyChecksum(boolean legacyChecksum)
      Deprecated.
      Whether streaming hash will be used as a Checksum, same as in LZ4 library stream encoder/decoder

      Useful for interoperation with LZ4BlockOutputStream and LZ4BlockInputStream

    • createEncoder

      public BlockEncoder createEncoder()
      Deprecated.
      Description copied from interface: FrameFormat
      Creates an encoder which transforms input bufs into bufs of encoded data
      Specified by:
      createEncoder in interface FrameFormat
      Returns:
      block encoder
    • createDecoder

      public BlockDecoder createDecoder()
      Deprecated.
      Description copied from interface: FrameFormat
      Creates a decoder which decodes data encoded by BlockEncoder
      Specified by:
      createDecoder in interface FrameFormat
      Returns:
      block decoder