RedisCodec

dev.profunktor.redis4cats.data$.RedisCodec$
See theRedisCodec companion class
object RedisCodec

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def decryptSupplier[F[_] : Sync](key: SecretKeySpec): F[CipherSupplier]

It creates a CipherSupplier given a secret key for decryption.

It creates a CipherSupplier given a secret key for decryption.

A CipherSupplier is needed for RedisCodec.secure

Attributes

def deflate[K, V](codec: RedisCodec[K, V]): RedisCodec[K, V]

It compresses every value sent to Redis and it decompresses every value read from Redis using the DEFLATE compression algorithm.

It compresses every value sent to Redis and it decompresses every value read from Redis using the DEFLATE compression algorithm.

Attributes

def encryptSupplier[F[_] : Sync](key: SecretKeySpec): F[CipherSupplier]

It creates a CipherSupplier given a secret key for encryption.

It creates a CipherSupplier given a secret key for encryption.

A CipherSupplier is needed for RedisCodec.secure

Attributes

def gzip[K, V](codec: RedisCodec[K, V]): RedisCodec[K, V]

It compresses every value sent to Redis and it decompresses every value read from Redis using the GZIP compression algorithm.

It compresses every value sent to Redis and it decompresses every value read from Redis using the GZIP compression algorithm.

Attributes

def secure[K, V](codec: RedisCodec[K, V], encrypt: CipherSupplier, decrypt: CipherSupplier): RedisCodec[K, V]

It encrypts every value sent to Redis and it decrypts every value read from Redis using the supplied CipherSuppliers.

It encrypts every value sent to Redis and it decrypts every value read from Redis using the supplied CipherSuppliers.

Attributes