class SentinelRedisCache[F[_], V](val jedisPool: JedisSentinelPool)(implicit evidence$1: Sync[F], evidence$2: MonadCancelThrow[F], val config: CacheConfig, val codec: Codec[V]) extends RedisCacheBase[F, V]
Thin wrapper around Jedis that works with Redis Sentinel.
- Companion
- object
trait AbstractCache[F, V]
trait LoggingSupport[F]
trait Cache[F, V]
trait CacheAlg[F, V]
class Object
trait Matchable
class Any
Type members
Types
Value members
Inherited methods
final override def caching(keyParts: Any*)(ttl: Option[Duration])(f: => V)(implicit flags: Flags): F[V]
- Definition Classes
- AbstractCache -> CacheAlg
- Inherited from
- AbstractCache
override def cachingForMemoize(baseKey: String)(ttl: Option[Duration])(f: => V)(implicit flags: Flags): F[V]
- Definition Classes
- AbstractCache -> Cache
- Inherited from
- AbstractCache
override def cachingForMemoizeF(baseKey: String)(ttl: Option[Duration])(f: F[V])(implicit flags: Flags): F[V]
- Definition Classes
- AbstractCache -> Cache
- Inherited from
- AbstractCache
Output a debug log to record the result of a cache lookup
Output a debug log to record the result of a cache lookup
- Type Params
- A
the type of the cache value
- Value Params
- key
the key that was looked up
- result
the result of the cache lookup
- Inherited from
- LoggingSupport
Output a debug log to record a cache insertion/update
Output a debug log to record a cache insertion/update
- Value Params
- key
the key that was inserted/updated
- ttl
the TTL of the inserted entry
- Inherited from
- LoggingSupport
final override def put(keyParts: Any*)(value: V, ttl: Option[Duration])(implicit flags: Flags): F[Unit]
- Definition Classes
- AbstractCache -> CacheAlg
- Inherited from
- AbstractCache
Borrow a Jedis client from the pool, perform some operation and then return the client to the pool.
Borrow a Jedis client from the pool, perform some operation and then return the client to the pool.
- Type Params
- T
return type of the block
- Value Params
- f
block that uses the Jedis client.
- Returns
the result of executing the block
- Inherited from
- RedisCacheBase