effredis
package effredis
- Alphabetic
- Public
- Protected
Type Members
- trait BaseOperations[F[+_]] extends BaseApi[F]
- case class Error(cause: String) extends Resp[Nothing] with Product with Serializable
- trait GeoOperations[F[+_]] extends GeoApi[F]
- trait HashOperations[F[+_]] extends HashApi[F]
- trait HyperLogLogOperations[F[+_]] extends HyperLogLogApi[F]
- trait ListOperations[F[+_]] extends ListApi[F]
- trait Log[F[_]] extends AnyRef
Typeclass used for internal logging such as acquiring and releasing connections.
Typeclass used for internal logging such as acquiring and releasing connections.
It is recommended to use
log4cats
for production usage but if you do not want the extra dependency, you can opt to use either of the simple instances provided.If you don't need logging at all, you can use Log.NoOp
import dev.profunktor.redis4cats.effect.Log.NoOp._
If you need simple logging to STDOUT for quick debugging, you can use Log.Stdout
import dev.profunktor.redis4cats.effect.Log.Stdout._
- trait NodeOperations[F[+_]] extends NodeApi[F]
- trait Protocol extends R
- trait R extends Reply
- abstract class Redis[F[+_], M <: Mode] extends RedisIO with Protocol
- case class RedisArray(value: List[RedisValue]) extends RedisValue with Product with Serializable
- trait RedisBlocker extends AnyRef
- case class RedisBulkString(value: Array[Byte]) extends SingleRedisValue with Product with Serializable
- class RedisClient[F[+_], M <: Mode] extends RedisCommand[F, M]
- case class RedisClientPool[F[+_]]()(implicit evidence$1: Concurrent[F], evidence$2: ContextShift[F], evidence$3: Log[F], evidence$4: Timer[F]) extends Product with Serializable
- abstract class RedisCommand[F[+_], M <: Mode] extends Redis[F, M] with BaseOperations[F] with StringOperations[F] with ListOperations[F] with HashOperations[F] with SetOperations[F] with SortedSetOperations[F] with NodeOperations[F] with TransactionOperations[F] with HyperLogLogOperations[F] with GeoOperations[F] with ScriptsOperations[F] with ClusterOperations[F] with AutoCloseable
- case class RedisConnectionException(message: String) extends RuntimeException with Product with Serializable
- case class RedisFlatArray(value: List[SingleRedisValue]) extends RedisValue with Product with Serializable
- trait RedisIO extends AnyRef
- case class RedisInteger(value: Long) extends RedisValue with Product with Serializable
- case class RedisSimpleString(value: Array[Byte]) extends SingleRedisValue with Product with Serializable
- sealed trait RedisValue extends AnyRef
- trait Reply extends AnyRef
In RESP, the type of some data depends on the first byte:
In RESP, the type of some data depends on the first byte:
- For Simple Strings the first byte of the reply is "+" - For Errors the first byte of the reply is "-" - For Integers the first byte of the reply is ":" - For Bulk Strings the first byte of the reply is "$" - For Arrays the first byte of the reply is "*"
- sealed trait Resp[+A] extends AnyRef
- trait ScriptsOperations[F[+_]] extends ScriptsApi[F]
- trait SetOperations[F[+_]] extends SetApi[F]
- sealed trait SingleRedisValue extends RedisValue
- trait SortedSetOperations[F[+_]] extends SortedSetApi[F]
- trait StringOperations[F[+_]] extends StringApi[F]
- trait TransactionOperations[F[+_]] extends TransactionApi[F]
- case class TxnDiscarded(contents: Vector[(String, () => Any)]) extends Resp[Nothing] with Product with Serializable
- case class Value[A](value: A) extends Resp[A] with Product with Serializable
Value Members
- case object Buffered extends Resp[Nothing] with Product with Serializable
- object Containers
- object Log
- object Main extends App with R
- case object Queued extends Resp[Nothing] with Product with Serializable
- object RedisBlocker
- object RedisClient
- object RedisClientPool extends Serializable
- object Request
- object Resp
- object RespValues