Trait

com.avsystem.commons.redis

RedisCommand

Related Doc: package redis

Permalink

trait RedisCommand[+A] extends AtomicBatch[A] with RawCommand

Self Type
RedisCommand[A]
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RedisCommand
  2. RawCommand
  3. ReplyPreprocessor
  4. RawCommands
  5. AtomicBatch
  6. RawCommandPack
  7. RawCommandPacks
  8. RedisBatch
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def decodeExpected: ReplyDecoder[A]

    Permalink
    Attributes
    protected
  2. abstract def encoded: ArrayMsg[BulkStringMsg]

    Permalink
    Definition Classes
    RawCommand
  3. abstract def level: Level

    Permalink
    Definition Classes
    RawCommand

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def *>[B](other: RedisBatch[B]): RedisBatch[B]

    Permalink

    Merges two batches into a single batch where result of the right-hand-side batch is returned while result of left-hand-side is discarded.

    Merges two batches into a single batch where result of the right-hand-side batch is returned while result of left-hand-side is discarded. Useful when left-hand-side returns Unit. NOTE: errors for left-hand-side are NOT discarded, use ignoreFailures on it if that's your intention.

    Definition Classes
    RedisBatch
  4. def <*[B](other: RedisBatch[B]): RedisBatch[A]

    Permalink

    Merges two batches into a single batch where result of the left-hand-side batch is returned while result of right-hand-side is discarded.

    Merges two batches into a single batch where result of the left-hand-side batch is returned while result of right-hand-side is discarded. Useful when right-hand-side returns Unit. NOTE: errors for right-hand-side are NOT discarded, use ignoreFailures on it if that's your intention.

    Definition Classes
    RedisBatch
  5. def <*>[B, C](other: RedisBatch[B])(f: (A, B) ⇒ C): RedisBatch[C]

    Permalink

    This is a symbolic alias for map2.

    This is a symbolic alias for map2. The symbol (along with *> and <*) is inspired by its Haskell equivalent.

    Definition Classes
    RedisBatch
  6. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def asking: RedisBatch[A]

    Permalink

    Ensures that every keyed command in this batch is prepended with ASKING special command.

    Ensures that every keyed command in this batch is prepended with ASKING special command. This is necessary only when manually handling Redis Cluster redirections.

    Definition Classes
    RedisBatch
  9. def atomic: RedisBatch[A]

    Permalink

    Ensures that this batch is atomic, i.e.

    Ensures that this batch is atomic, i.e. it's either a single Redis command or is executed inside a MULTI-EXEC block.

    Definition Classes
    AtomicBatchRedisBatch
  10. def checkLevel(minAllowed: Level, clientType: String): Unit

    Permalink
    Definition Classes
    RawCommandRawCommandPack
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def createPreprocessor(replyCount: Int): RawCommand

    Permalink
    Definition Classes
    RawCommandRawCommandPack
  13. def decode(replyMsg: RedisReply): A

    Permalink
    Attributes
    protected
  14. def decodeReplies(replies: (Int) ⇒ RedisReply, idx: Index, inTransaction: Boolean): A

    Permalink
    Definition Classes
    RedisCommandRedisBatch
  15. def emitCommandPacks(consumer: (RawCommandPack) ⇒ Unit): Unit

    Permalink
    Definition Classes
    RawCommandPackRawCommandPacks
  16. def emitCommands(consumer: (RawCommand) ⇒ Unit): Unit

    Permalink
    Definition Classes
    RawCommandRawCommands
  17. final def encodedSize: Int

    Permalink
    Definition Classes
    RawCommandPacks
  18. def encoder(commandName: String*): CommandEncoder

    Permalink
    Attributes
    protected
    Definition Classes
    RawCommand
  19. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  21. def failed: RedisBatch[Throwable]

    Permalink
    Definition Classes
    RedisBatch
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def foreachKey(consumer: (ByteString) ⇒ Unit): Unit

    Permalink
    Definition Classes
    RawCommandPacks
  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  26. def ignoreFailures: RedisBatch[Unit]

    Permalink
    Definition Classes
    RedisBatch
  27. def isAsking: Boolean

    Permalink
    Definition Classes
    RawCommandPack
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. def map[B](fun: (A) ⇒ B): RedisCommand[B]

    Permalink
    Definition Classes
    RedisCommandRedisBatch
  30. def map2[B, C](other: RedisBatch[B])(f: (A, B) ⇒ C): RedisBatch[C]

    Permalink

    Merges two batches into one.

    Merges two batches into one. Provided function is applied on results of the batches being merged to obtain result of the merged batch. map2 is the fundamental primitive for composing multiple batches into one.

    Definition Classes
    RedisBatch
  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. def operation: RedisOp[A]

    Permalink

    Transforms this batch into a RedisOp.

    Transforms this batch into a RedisOp.

    Definition Classes
    RedisBatch
  35. def preprocess(message: RedisMsg, state: WatchState): misc.Opt[RedisMsg]

    Permalink
    Definition Classes
    RawCommandReplyPreprocessor
  36. def rawCommandPacks: AtomicBatch[A]

    Permalink
    Definition Classes
    AtomicBatchRedisBatch
  37. def rawCommands(inTransaction: Boolean): RawCommand

    Permalink
    Definition Classes
    RawCommandRawCommandPack
  38. def recover[B >: A](f: PartialFunction[Throwable, B]): RedisBatch[B]

    Permalink
    Definition Classes
    RedisBatch
  39. def requireLevel(minAllowed: Level, clientType: String): RedisCommand.this.type

    Permalink
    Definition Classes
    RawCommandPacks
  40. def requireNonEmpty(seq: TraversableOnce[Any], what: String): Unit

    Permalink
    Attributes
    protected
  41. def single: commons.Opt[RawCommandPack]

    Permalink
    Definition Classes
    RawCommandPackRawCommandPacks
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  43. def toString(): String

    Permalink
    Definition Classes
    RedisCommand → AnyRef → Any
  44. def transaction: RedisBatch[A]

    Permalink

    Ensures that this batch is executed inside a MULTI-EXEC block.

    Ensures that this batch is executed inside a MULTI-EXEC block.

    Definition Classes
    RedisBatch
  45. def transform[B](fun: (commons.Try[A]) ⇒ commons.Try[B]): RedisBatch[B]

    Permalink
    Definition Classes
    RedisBatch
  46. def tried: RedisBatch[commons.Try[A]]

    Permalink
    Definition Classes
    RedisBatch
  47. def updateWatchState(message: RedisMsg, state: WatchState): Unit

    Permalink
    Definition Classes
    RawCommand
  48. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. def zip[B](other: RedisBatch[B]): RedisBatch[(A, B)]

    Permalink
    Definition Classes
    RedisBatch

Inherited from RawCommand

Inherited from ReplyPreprocessor

Inherited from RawCommands

Inherited from AtomicBatch[A]

Inherited from RawCommandPack

Inherited from RawCommandPacks

Inherited from RedisBatch[A]

Inherited from AnyRef

Inherited from Any

Ungrouped