object Compression
- Alphabetic
- By Inheritance
- Compression
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed abstract class ByteTransformer extends AnyRef
A named factory that makes a byte transformer that can be installed in the Netty pipeline.
A named factory that makes a byte transformer that can be installed in the Netty pipeline.
This must be called every time you make a new transformer for a differen stream. Transformers cannot share state between dfiferent streams.
- case class LocalPreferences(compression: LocalSetting, decompression: LocalSetting) extends Product with Serializable
Used for configuring the local preferences for compression and decompression.
- case class LocalSetting(level: CompressionLevel, transformers: Seq[ByteTransformer]) extends Product with Serializable
The setting used for configuring the local preferences for either compression or decompression.
The setting used for configuring the local preferences for either compression or decompression.
- level
how much the party desires to compress
- transformers
the ways the client can compress or decompress things
- case class PeerPreferences(compression: PeerSetting, decompression: PeerSetting) extends Product with Serializable
Used for communicating the preferences of the client for compression and decompression over the wire.
- case class PeerSetting(level: CompressionLevel, transformerNames: Seq[String]) extends Product with Serializable
The setting used for transmitting over the wire the preferences of the client for either compression or decompression.
The setting used for transmitting over the wire the preferences of the client for either compression or decompression.
- level
how much the party desires to compress
- transformerNames
the names of the ways the client can compress or decompress things
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val DefaultLocal: LocalPreferences
The default preferences if compression format is not specified.
The default preferences if compression format is not specified.
Is unable to use compression for either the request or the response. May change in the future.
- val Lz4String: String
- val PeerCompressionOff: PeerPreferences
Is unable to use compression for either the request or the response.
- val ZstdString: String
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lz4Compressor(highCompression: Boolean): ByteTransformer
- def lz4Decompressor(): ByteTransformer
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def zstdCompressor(compressionLevel: Int = DEFAULT_COMPRESSION_LEVEL, blockSize: Int = DEFAULT_BLOCK_SIZE, maxEncodeSize: Int = DEFAULT_MAX_ENCODE_SIZE): ByteTransformer
- def zstdCompressor(): ByteTransformer
- def zstdDecompressor(): ByteTransformer