Packages

class RedisCache[V] extends RedisCacheBase[V]

Thin wrapper around Jedis

Linear Supertypes
RedisCacheBase[V], AbstractCache[V], LoggingSupport, Cache[V], CacheAlg[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. All

Instance Constructors

  1. new RedisCache(jedisPool: JedisPool)(implicit 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. final def caching[F[_]](keyParts: Any*)(ttl: Option[Duration])(f: ⇒ V)(implicit mode: Mode[F], flags: Flags): F[V]
    Definition Classes
    AbstractCache → CacheAlg
  6. def cachingF[F[_]](keyParts: Any*)(ttl: Option[Duration])(f: ⇒ F[V])(implicit mode: Mode[F], flags: Flags): F[V]
    Definition Classes
    AbstractCache → CacheAlg
  7. def cachingForMemoize[F[_]](baseKey: String)(ttl: Option[Duration])(f: ⇒ V)(implicit mode: Mode[F], flags: Flags): F[V]
    Definition Classes
    AbstractCache → Cache
  8. def cachingForMemoizeF[F[_]](baseKey: String)(ttl: Option[Duration])(f: ⇒ F[V])(implicit mode: Mode[F], flags: Flags): F[V]
    Definition Classes
    AbstractCache → Cache
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. def close[F[_]]()(implicit mode: Mode[F]): F[Any]
    Definition Classes
    RedisCacheBase → CacheAlg
  11. implicit val codec: Codec[V]
    Definition Classes
    RedisCacheRedisCacheBase
  12. implicit val config: CacheConfig
    Definition Classes
    RedisCacheRedisCacheBase → Cache
  13. def doGet[F[_]](key: String)(implicit mode: Mode[F]): F[Option[V]]
    Attributes
    protected
    Definition Classes
    RedisCacheBase → AbstractCache
  14. def doPut[F[_]](key: String, value: V, ttl: Option[Duration])(implicit mode: Mode[F]): F[Any]
    Attributes
    protected
    Definition Classes
    RedisCacheBase → AbstractCache
  15. def doRemove[F[_]](key: String)(implicit mode: Mode[F]): F[Any]
    Attributes
    protected
    Definition Classes
    RedisCacheBase → AbstractCache
  16. def doRemoveAll[F[_]]()(implicit mode: Mode[F]): F[Any]
    Attributes
    protected
    Definition Classes
    RedisCache → AbstractCache
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def get[F[_]](keyParts: Any*)(implicit mode: Mode[F], flags: Flags): F[Option[V]]
    Definition Classes
    AbstractCache → CacheAlg
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  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]): Unit
    Attributes
    protected
    Definition Classes
    LoggingSupport
  26. def logCachePut(key: String, ttl: Option[Duration]): Unit
    Attributes
    protected
    Definition Classes
    LoggingSupport
  27. final val logger: Logger
    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()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def put[F[_]](keyParts: Any*)(value: V, ttl: Option[Duration])(implicit mode: Mode[F], flags: Flags): F[Any]
    Definition Classes
    AbstractCache → CacheAlg
  32. final def remove[F[_]](keyParts: Any*)(implicit mode: Mode[F]): F[Any]
    Definition Classes
    AbstractCache → CacheAlg
  33. final def removeAll[F[_]]()(implicit mode: Mode[F]): F[Any]
    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(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  39. final def withJedisCommands[T](f: (BinaryJedisCommands) ⇒ T): 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

Inherited from RedisCacheBase[V]

Inherited from AbstractCache[V]

Inherited from LoggingSupport

Inherited from Cache[V]

Inherited from CacheAlg[V]

Inherited from AnyRef

Inherited from Any

Ungrouped