public class CompressorFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CompressorFactory.NoneCompressor
None compressor
|
| Modifier and Type | Field and Description |
|---|---|
protected static Map<CompressorType,Compressor> |
COMPRESSOR_MAP
The constant COMPRESSOR_MAP.
|
| Constructor and Description |
|---|
CompressorFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Compressor |
getCompressor(byte code)
Get compressor by code.
|
protected static final Map<CompressorType,Compressor> COMPRESSOR_MAP
public static Compressor getCompressor(byte code)
code - the codeCopyright © 2023 Seata. All rights reserved.