https://github.com/redisson/redisson/wiki/2.-Configuration#
Redis data codec. Used during read and write Redis data. Several implementations are available:
Codec class name | Description |
---|---|
org.redisson.codec.FstCodec |
FST up to 10x faster than JDK Serialization codec. Default codec |
org.redisson.codec.JsonJacksonCodec |
Jackson JSON codec |
org.redisson.codec.MarshallingCodec |
JBoss Marshalling binary codec |
org.redisson.codec.AvroJacksonCodec |
Avro binary json codec |
org.redisson.codec.SmileJacksonCodec |
Smile binary json codec |
org.redisson.codec.CborJacksonCodec |
CBOR binary json codec |
org.redisson.codec.MsgPackJacksonCodec |
MsgPack binary json codec |
org.redisson.codec.IonJacksonCodec |
Amazon Ion codec |
org.redisson.codec.KryoCodec |
Kryo binary codec |
org.redisson.codec.SerializationCodec |
JDK Serialization codec |
org.redisson.codec.LZ4Codec |
LZ4 compression codec |
org.redisson.codec.SnappyCodec |
Netty's implementation of Snappy compression codec |
org.redisson.codec.SnappyCodecV2 |
Snappy compression codec based on snappy-javaproject |
org.redisson.codec.TypedJsonJacksonCodec |
Jackson JSON codec which doesn't store type id (@class field) during encoding and doesn't require it for decoding |
org.redisson.client.codec.StringCodec |
String codec |
org.redisson.client.codec.LongCodec |
Long codec |
org.redisson.client.codec.ByteArrayCodec |
Byte array codec |
org.redisson.codec.CompositeCodec |
Used to mix different codecs as one |