ShardedRedisCache

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[F[_], V](hosts: (String, Int)*)(implicit evidence$3: Sync[F], evidence$4: MonadCancelThrow[F], config: CacheConfig, codec: Codec[V]): ShardedRedisCache[F, V]

Create a sharded Redis client connecting to the given hosts and use it for caching

Create a sharded Redis client connecting to the given hosts and use it for caching

def apply[F[_], V](jedisPool: ShardedJedisPool)(implicit evidence$5: Sync[F], evidence$6: MonadCancelThrow[F], config: CacheConfig, codec: Codec[V]): ShardedRedisCache[F, V]

Create a cache that uses the given ShardedJedis client pool

Create a cache that uses the given ShardedJedis client pool

Value Params
jedisPool

a ShardedJedis pool