class ShardedRedisCache[F[_], V] extends RedisCacheBase[F, V]
Thin wrapper around Jedis that works with sharded Redis.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ShardedRedisCache
- RedisCacheBase
- AbstractCache
- LoggingSupport
- Cache
- CacheAlg
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ShardedRedisCache(jedisPool: ShardedJedisPool)(implicit arg0: Sync[F], arg1: MonadCancelThrow[F], config: CacheConfig, codec: Codec[V])
Type Members
- type JClient = ShardedJedis
- Definition Classes
- ShardedRedisCache → RedisCacheBase
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def F: Sync[F]
- Attributes
- protected
- Definition Classes
- ShardedRedisCache → AbstractCache → LoggingSupport
- def MonadCancelThrowF: MonadCancelThrow[F]
- Attributes
- protected
- Definition Classes
- ShardedRedisCache → RedisCacheBase
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def caching(keyParts: Any*)(ttl: Option[Duration])(f: => V)(implicit flags: Flags): F[V]
- Definition Classes
- AbstractCache → CacheAlg
- def cachingF(keyParts: Any*)(ttl: Option[Duration])(f: F[V])(implicit flags: Flags): F[V]
- Definition Classes
- AbstractCache → CacheAlg
- def cachingForMemoize(baseKey: String)(ttl: Option[Duration])(f: => V)(implicit flags: Flags): F[V]
- Definition Classes
- AbstractCache → Cache
- def cachingForMemoizeF(baseKey: String)(ttl: Option[Duration])(f: F[V])(implicit flags: Flags): F[V]
- Definition Classes
- AbstractCache → Cache
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val close: F[Unit]
- Definition Classes
- RedisCacheBase → CacheAlg
- implicit val codec: Codec[V]
- Definition Classes
- ShardedRedisCache → RedisCacheBase
- implicit val config: CacheConfig
- Definition Classes
- ShardedRedisCache → RedisCacheBase → Cache
- def doGet(key: String): F[Option[V]]
- Attributes
- protected
- Definition Classes
- RedisCacheBase → AbstractCache
- def doPut(key: String, value: V, ttl: Option[Duration]): F[Unit]
- Attributes
- protected
- Definition Classes
- RedisCacheBase → AbstractCache
- def doRemove(key: String): F[Unit]
- Attributes
- protected
- Definition Classes
- RedisCacheBase → AbstractCache
- val doRemoveAll: F[Unit]
- Attributes
- protected
- Definition Classes
- ShardedRedisCache → AbstractCache
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def get(keyParts: Any*)(implicit flags: Flags): F[Option[V]]
- Definition Classes
- AbstractCache → CacheAlg
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val jedisPool: ShardedJedisPool
- Definition Classes
- ShardedRedisCache → RedisCacheBase
- def logCacheHitOrMiss[A](key: String, result: Option[A]): F[Unit]
- Attributes
- protected
- Definition Classes
- LoggingSupport
- def logCachePut(key: String, ttl: Option[Duration]): F[Unit]
- Attributes
- protected
- Definition Classes
- LoggingSupport
- final val logger: Logger[F]
- Attributes
- protected
- Definition Classes
- RedisCacheBase → LoggingSupport
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def put(keyParts: Any*)(value: V, ttl: Option[Duration])(implicit flags: Flags): F[Unit]
- Definition Classes
- AbstractCache → CacheAlg
- final def remove(keyParts: Any*): F[Unit]
- Definition Classes
- AbstractCache → CacheAlg
- final def removeAll: F[Unit]
- Definition Classes
- AbstractCache → CacheAlg
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def withJedis[T](f: (JClient) => F[T]): F[T]
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.
- T
return type of the block
- f
block that uses the Jedis client.
- returns
the result of executing the block
- Attributes
- protected
- Definition Classes
- RedisCacheBase
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated