class RedisCache[F[_], V] extends RedisCacheBase[F, V]

Thin wrapper around Jedis

Linear Supertypes
RedisCacheBase[F, V], AbstractCache[F, V], LoggingSupport[F], Cache[F, V], CacheAlg[F, V], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RedisCache
  2. RedisCacheBase
  3. AbstractCache
  4. LoggingSupport
  5. Cache
  6. CacheAlg
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RedisCache(jedisPool: JedisPool)(implicit arg0: Sync[F], config: CacheConfig, codec: Codec[V])

Type Members

  1. type JClient = Jedis
    Definition Classes
    RedisCacheRedisCacheBase

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def F: Sync[F]
    Attributes
    protected
    Definition Classes
    RedisCache → AbstractCache → LoggingSupport
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. final def caching(keyParts: Any*)(ttl: Option[Duration])(f: => V)(implicit flags: Flags): F[V]
    Definition Classes
    AbstractCache → CacheAlg
  7. def cachingF(keyParts: Any*)(ttl: Option[Duration])(f: F[V])(implicit flags: Flags): F[V]
    Definition Classes
    AbstractCache → CacheAlg
  8. def cachingForMemoize(baseKey: String)(ttl: Option[Duration])(f: => V)(implicit flags: Flags): F[V]
    Definition Classes
    AbstractCache → Cache
  9. def cachingForMemoizeF(baseKey: String)(ttl: Option[Duration])(f: F[V])(implicit flags: Flags): F[V]
    Definition Classes
    AbstractCache → Cache
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. val close: F[Unit]
    Definition Classes
    RedisCacheBase → CacheAlg
  12. implicit val codec: Codec[V]
    Definition Classes
    RedisCacheRedisCacheBase
  13. implicit val config: CacheConfig
    Definition Classes
    RedisCacheRedisCacheBase → Cache
  14. def doGet(key: String): F[Option[V]]
    Attributes
    protected
    Definition Classes
    RedisCacheBase → AbstractCache
  15. def doPut(key: String, value: V, ttl: Option[Duration]): F[Unit]
    Attributes
    protected
    Definition Classes
    RedisCacheBase → AbstractCache
  16. def doRemove(key: String): F[Unit]
    Attributes
    protected
    Definition Classes
    RedisCacheBase → AbstractCache
  17. val doRemoveAll: F[Unit]
    Attributes
    protected
    Definition Classes
    RedisCache → AbstractCache
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. final def get(keyParts: Any*)(implicit flags: Flags): F[Option[V]]
    Definition Classes
    AbstractCache → CacheAlg
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. val jedisPool: JedisPool
    Definition Classes
    RedisCacheRedisCacheBase
  25. def logCacheHitOrMiss[A](key: String, result: Option[A]): F[Unit]
    Attributes
    protected
    Definition Classes
    LoggingSupport
  26. def logCachePut(key: String, ttl: Option[Duration]): F[Unit]
    Attributes
    protected
    Definition Classes
    LoggingSupport
  27. final val logger: Logger[F]
    Attributes
    protected
    Definition Classes
    RedisCacheBase → LoggingSupport
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. final def put(keyParts: Any*)(value: V, ttl: Option[Duration])(implicit flags: Flags): F[Unit]
    Definition Classes
    AbstractCache → CacheAlg
  32. final def remove(keyParts: Any*): F[Unit]
    Definition Classes
    AbstractCache → CacheAlg
  33. final def removeAll: F[Unit]
    Definition Classes
    AbstractCache → CacheAlg
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. 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

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from RedisCacheBase[F, V]

Inherited from AbstractCache[F, V]

Inherited from LoggingSupport[F]

Inherited from Cache[F, V]

Inherited from CacheAlg[F, V]

Inherited from AnyRef

Inherited from Any

Ungrouped