freezer.utils.compress
Module¶freezer.utils.compress.
BaseCompressor
(compression_algo)¶Bases: object
Base class for compress/decompress activities.
freezer.utils.compress.
Compressor
(compression_algo)¶Bases: freezer.utils.compress.BaseCompressor
Compress chucks of data.
MAX_COMPRESS_LEVEL
= 9¶compress
(data)¶create_compressobj
(compression_algo)¶flush
()¶freezer.utils.compress.
Decompressor
(compression_algo)¶Bases: freezer.utils.compress.BaseCompressor
Decompress chucks of data.
create_decompressobj
(compression_algo)¶decompress
(data)¶flush
()¶freezer.utils.compress.
get_compression_algo
(compression_algo)¶freezer.utils.compress.
one_shot_compress
(compression_algo, data)¶freezer.utils.compress.
one_shot_decompress
(compression_algo, data)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.