Package com.rabbitmq.stream.compression
Interface CompressionCodecFactory
- All Known Implementing Classes:
CommonsCompressCompressionCodecFactory
,DefaultCompressionCodecFactory
public interface CompressionCodecFactory
Factory to create
CompressionCodec
instances.-
Method Summary
Modifier and TypeMethodDescriptionget
(Compression compression) Get a compression codec for a given type of compression.
-
Method Details
-
get
Get a compression codec for a given type of compression.- Parameters:
compression
- the type of compression codec- Returns:
- the appropriate compression codec
-