Packages

c

dev.profunktor.redis4cats.Redis

RedisPartiallyApplied

class RedisPartiallyApplied[F[_]] extends AnyRef

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RedisPartiallyApplied
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RedisPartiallyApplied()(implicit arg0: Concurrent[F], arg1: ContextShift[F], arg2: Log[F])

Type Members

  1. abstract class E$F$RedisPartiallyApplied extends AnyRef
    Attributes
    protected[this]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from RedisPartiallyApplied[F] to any2stringadd[RedisPartiallyApplied[F]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (RedisPartiallyApplied[F], B)
    Implicit
    This member is added by an implicit conversion from RedisPartiallyApplied[F] to ArrowAssoc[RedisPartiallyApplied[F]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. def cluster[K, V](codec: RedisCodec[K, V], uris: String*): Resource[F, RedisCommands[F, K, V]]

    Creates a RedisCommands for a cluster connection.

    Creates a RedisCommands for a cluster connection.

    It will also create an underlying RedisClusterClient to establish connection with Redis.

    Example:

    Redis[IO].cluster(
      RedisCodec.Utf8,
      "redis://localhost:30001",
      "redis://localhost:30002"
    )

    Note: if you need to create multiple connections, use either fromClusterClient or fromClusterClientByNode instead, which allows you to re-use the same client.

  9. def clusterUtf8(uris: String*): Resource[F, RedisCommands[F, String, String]]

    Creates a RedisCommands for a cluster connection to deal with UTF-8 encoded keys and values.

    Creates a RedisCommands for a cluster connection to deal with UTF-8 encoded keys and values.

    It will also create an underlying RedisClusterClient to establish connection with Redis.

    Example:

    Redis[IO].clusterUtf8(
      "redis://localhost:30001",
      "redis://localhost:30002"
    )

    Note: if you need to create multiple connections, use either fromClusterClient or fromClusterClientByNode instead, which allows you to re-use the same client.

  10. def ensuring(cond: (RedisPartiallyApplied[F]) ⇒ Boolean, msg: ⇒ Any): RedisPartiallyApplied[F]
    Implicit
    This member is added by an implicit conversion from RedisPartiallyApplied[F] to Ensuring[RedisPartiallyApplied[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (RedisPartiallyApplied[F]) ⇒ Boolean): RedisPartiallyApplied[F]
    Implicit
    This member is added by an implicit conversion from RedisPartiallyApplied[F] to Ensuring[RedisPartiallyApplied[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): RedisPartiallyApplied[F]
    Implicit
    This member is added by an implicit conversion from RedisPartiallyApplied[F] to Ensuring[RedisPartiallyApplied[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): RedisPartiallyApplied[F]
    Implicit
    This member is added by an implicit conversion from RedisPartiallyApplied[F] to Ensuring[RedisPartiallyApplied[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from RedisPartiallyApplied[F] to StringFormat[RedisPartiallyApplied[F]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. def fromClient[K, V](client: RedisClient, codec: RedisCodec[K, V]): Resource[F, RedisCommands[F, K, V]]

    Creates a RedisCommands for a single-node connection.

    Creates a RedisCommands for a single-node connection.

    Example:

    val redis: Resource[IO, RedisCommands[IO, String, String]] =
      for {
        uri <- Resource.liftF(RedisURI.make[IO]("redis://localhost"))
        cli <- RedisClient[IO](uri)
        cmd <- Redis[IO].fromClient(cli, RedisCodec.Utf8)
      } yield cmd

    Note: if you don't need to create multiple connections, you might prefer to use either utf8 or simple instead.

  18. def fromClusterClient[K, V](clusterClient: RedisClusterClient, codec: RedisCodec[K, V]): Resource[F, RedisCommands[F, K, V]]

    Creates a RedisCommands for a cluster connection

    Creates a RedisCommands for a cluster connection

    Example:

    val redis: Resource[IO, RedisCommands[IO, String, String]] =
      for {
        uris <- Resource.liftF(
                List("redis://localhost:30001", "redis://localhost:30002")
                  .traverse(RedisURI.make[F](_))
              )
        cli <- RedisClusterClient[IO](uris: _*)
        cmd <- Redis[IO].fromClusterClient(cli, RedisCodec.Utf8)
      } yield cmd

    Note: if you don't need to create multiple connections, you might prefer to use either clusterUtf8 or cluster instead.

  19. def fromClusterClientByNode[K, V](clusterClient: RedisClusterClient, codec: RedisCodec[K, V], nodeId: NodeId): Resource[F, RedisCommands[F, K, V]]

    Creates a RedisCommands by trying to establish a cluster connection to the specified node.

    Creates a RedisCommands by trying to establish a cluster connection to the specified node.

    Example:

    val redis: Resource[IO, RedisCommands[IO, String, String]] =
      for {
        uris <- Resource.liftF(
                List("redis://localhost:30001", "redis://localhost:30002")
                  .traverse(RedisURI.make[F](_))
              )
        cli <- RedisClusterClient[IO](uris: _*)
        cmd <- Redis[IO].fromClusterClientByNode(cli, RedisCodec.Utf8, NodeId("1"))
      } yield cmd

    Note: if you don't need to create multiple connections, you might prefer to use either clusterUtf8 or cluster instead.

  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def masterReplica[K, V](conn: RedisMasterReplica[K, V]): Resource[F, RedisCommands[F, K, V]]

    Creates a RedisCommands from a MasterReplica connection

    Creates a RedisCommands from a MasterReplica connection

    Example:

    val redis: Resource[IO, RedisCommands[IO, String, String]] =
      for {
        uri <- Resource.liftF(RedisURI.make[IO](redisURI))
        conn <- RedisMasterReplica[IO].make(RedisCodec.Utf8, uri)(Some(ReadFrom.MasterPreferred))
        cmds <- Redis[IO].masterReplica(conn)
      } yield cmds
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def simple[K, V](uri: String, codec: RedisCodec[K, V]): Resource[F, RedisCommands[F, K, V]]

    Creates a RedisCommands for a single-node connection.

    Creates a RedisCommands for a single-node connection.

    It will create an underlying RedisClient with default options to establish connection with Redis.

    Example:

    Redis[IO].simple("redis://localhost", RedisCodec.Ascii)

    Note: if you need to create multiple connections, use fromClient instead, which allows you to re-use the same client.

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. def utf8(uri: String): Resource[F, RedisCommands[F, String, String]]

    Creates a RedisCommands for a single-node connection to deal with UTF-8 encoded keys and values.

    Creates a RedisCommands for a single-node connection to deal with UTF-8 encoded keys and values.

    It will create an underlying RedisClient with default options to establish connection with Redis.

    Example:

    Redis[IO].utf8("redis://localhost")

    Note: if you need to create multiple connections, use fromClient instead, which allows you to re-use the same client.

  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def withOptions[K, V](uri: String, opts: ClientOptions, codec: RedisCodec[K, V]): Resource[F, RedisCommands[F, K, V]]

    Creates a RedisCommands for a single-node connection.

    Creates a RedisCommands for a single-node connection.

    It will create an underlying RedisClient using the supplied client options to establish connection with Redis.

    Example:

    for {
      opts <- Resource.liftF(F.delay(ClientOptions.create())) // configure timeouts, etc
      cmds <- Redis[IO].withOptions("redis://localhost", opts, RedisCodec.Ascii)
    } yield cmds

    Note: if you need to create multiple connections, use fromClient instead, which allows you to re-use the same client.

  35. def [B](y: B): (RedisPartiallyApplied[F], B)
    Implicit
    This member is added by an implicit conversion from RedisPartiallyApplied[F] to ArrowAssoc[RedisPartiallyApplied[F]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from RedisPartiallyApplied[F] to any2stringadd[RedisPartiallyApplied[F]]

Inherited by implicit conversion StringFormat from RedisPartiallyApplied[F] to StringFormat[RedisPartiallyApplied[F]]

Inherited by implicit conversion Ensuring from RedisPartiallyApplied[F] to Ensuring[RedisPartiallyApplied[F]]

Inherited by implicit conversion ArrowAssoc from RedisPartiallyApplied[F] to ArrowAssoc[RedisPartiallyApplied[F]]

Ungrouped