scalacache.redis

Type members

Classlikes

class RedisCache[F[_], K, V](val jedisPool: JedisPool)(implicit evidence$1: Sync[F], val keyEncoder: BinaryEncoder[K], val codec: BinaryCodec[V]) extends RedisCacheBase[F, K, V]

Thin wrapper around Jedis

Thin wrapper around Jedis

Companion
object
object RedisCache
Companion
class
trait RedisCacheBase[F[_], K, V] extends AbstractCache[F, K, V]

Contains implementations of all methods that can be implemented independent of the type of Redis client. This is everything apart from removeAll, which needs to be implemented differently for sharded Redis.

Contains implementations of all methods that can be implemented independent of the type of Redis client. This is everything apart from removeAll, which needs to be implemented differently for sharded Redis.

class RedisClusterCache[F[_], K, V](val jedisCluster: JedisCluster)(implicit evidence$1: Sync[F], val keyEncoder: BinaryEncoder[K], val codec: BinaryCodec[V]) extends AbstractCache[F, K, V]

Custom serialization for caching arbitrary objects in Redis. Ints, Longs, Doubles, Strings and byte arrays are treated specially. Everything else is serialized using standard Java serialization.

Custom serialization for caching arbitrary objects in Redis. Ints, Longs, Doubles, Strings and byte arrays are treated specially. Everything else is serialized using standard Java serialization.

class SentinelRedisCache[F[_], K, V](val jedisPool: JedisSentinelPool)(implicit evidence$1: Sync[F], val keyEncoder: BinaryEncoder[K], val codec: BinaryCodec[V]) extends RedisCacheBase[F, K, V]

Thin wrapper around Jedis that works with Redis Sentinel.

Thin wrapper around Jedis that works with Redis Sentinel.

Companion
object
Companion
class
class ShardedRedisCache[F[_], K, V](val jedisPool: ShardedJedisPool)(implicit evidence$1: Sync[F], val keyEncoder: BinaryEncoder[K], val codec: BinaryCodec[V]) extends RedisCacheBase[F, K, V]

Thin wrapper around Jedis that works with sharded Redis.

Thin wrapper around Jedis that works with sharded Redis.

Companion
object
Companion
class