sealed trait MkRedis[F[_]] extends AnyRef
MkRedis is a capability trait that abstracts over the creation of RedisClient, RedisClusterClient, among other things.
It serves the internal purpose to orchastrate creation of such instances while
avoiding impure constraints such as Async
or Sync
.
Users only need a MkRedis
constraint and MonadThrow
to create a Redis
instance.
- Annotations
- @implicitNotFound()
- Source
- MkRedis.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MkRedis
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def clientCustom(uri: => RedisURI, opts: ClientOptions, config: Redis4CatsConfig = Redis4CatsConfig()): Resource[F, RedisClient]
- abstract def clientFrom(strUri: => String): Resource[F, RedisClient]
- abstract def clientFromUri(uri: => RedisURI): Resource[F, RedisClient]
- abstract def clientWithOptions(strUri: => String, opts: ClientOptions): Resource[F, RedisClient]
- abstract def clusterClient(uri: RedisURI*): Resource[F, RedisClusterClient]
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (MkRedis[F], B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def ensuring(cond: (MkRedis[F]) => Boolean, msg: => Any): MkRedis[F]
- def ensuring(cond: (MkRedis[F]) => Boolean): MkRedis[F]
- def ensuring(cond: Boolean, msg: => Any): MkRedis[F]
- def ensuring(cond: Boolean): MkRedis[F]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- 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])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from MkRedis[F] toStringFormat[MkRedis[F]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (MkRedis[F], B)
- Implicit
- This member is added by an implicit conversion from MkRedis[F] toArrowAssoc[MkRedis[F]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
This is the API documentation for the Redis4Cats library.