object RedisClient
- Alphabetic
- By Inheritance
- RedisClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hpipeline[F[+_], In <: HList](client: RedisClient[F, PIPE.type])(commands: () => F[In])(implicit arg0: Concurrent[F], arg1: ContextShift[F], arg2: Log[F]): F[Resp[Option[List[Any]]]]
API for pipeline instructions.
API for pipeline instructions. Allows HList to be used for setting up the pipeline
- client
the pipeline client
- returns
response from server
- def htransaction[F[+_], In <: HList](client: RedisClient[F, TRANSACT.type])(commands: () => In)(implicit arg0: Concurrent[F], arg1: ContextShift[F], arg2: Log[F]): F[Resp[Option[List[Any]]]]
API for transaction.
API for transaction. Allows HList to be used for setting up the transaction set
- client
the transaction client
- returns
response from server
- 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
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def pipe[F[+_]](uri: URI)(implicit arg0: ContextShift[F], arg1: Concurrent[F], arg2: Log[F]): Resource[F, RedisClient[F, PIPE.type]]
Make a connection for pipelines
Make a connection for pipelines
- uri
the client URI
- returns
the pipeline client
- def pipeline[F[+_], A](client: RedisClient[F, PIPE.type])(f: (RedisClient[F, PIPE.type]) => F[A])(implicit arg0: Concurrent[F], arg1: ContextShift[F], arg2: Log[F]): F[Resp[Option[List[Any]]]]
API for pipeline instructions
API for pipeline instructions
- client
the pipeline client
- f
the pipeline of functions
- returns
response from server
- def single[F[+_]](uris: NonEmptyList[URI])(implicit arg0: ContextShift[F], arg1: Concurrent[F], arg2: Log[F]): F[Resource[F, RedisClient[F, SINGLE.type]]]
Creates a single connection out of the first working one from the list supplied.
Creates a single connection out of the first working one from the list supplied. This is used to find out one of the seed connections in a Redis Cluster
- uris
the list of uris from which at least one needs to work
- returns
a resource for a working client in F
- def single[F[+_]](uri: URI)(implicit arg0: ContextShift[F], arg1: Concurrent[F], arg2: Log[F]): Resource[F, RedisClient[F, SINGLE.type]]
Make a single normal connection
Make a single normal connection
- uri
the client URI
- returns
the single client
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def transact[F[+_]](uri: URI)(implicit arg0: ContextShift[F], arg1: Concurrent[F], arg2: Log[F]): Resource[F, RedisClient[F, TRANSACT.type]]
Make a connection for transaction
Make a connection for transaction
- uri
the client URI
- returns
the transaction client
- def transaction[F[+_], A](client: RedisClient[F, TRANSACT.type])(f: (RedisClient[F, TRANSACT.type]) => F[A])(implicit arg0: Concurrent[F], arg1: ContextShift[F], arg2: Log[F]): F[Resp[Option[List[Any]]]]
API for transaction.
API for transaction. Allows HList to be used for setting up the transaction set
- client
the transaction client
- f
the pipeline of functions
- returns
response from server
- 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])
- case object ASC extends SortOrder with Product with Serializable
- case object DESC extends SortOrder with Product with Serializable
- case object MAX extends Aggregate with Product with Serializable
- case object MIN extends Aggregate with Product with Serializable
- case object PIPE extends Mode with Product with Serializable
- case object SINGLE extends Mode with Product with Serializable
- case object SUM extends Aggregate with Product with Serializable
- case object TRANSACT extends Mode with Product with Serializable