Packages

t

com.avsystem.commons.redis

SinglePackBatch

trait SinglePackBatch[+A] extends RedisBatch[A] with RawCommandPack

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SinglePackBatch
  2. RawCommandPack
  3. RawCommandPacks
  4. RedisBatch
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def checkLevel(minAllowed: Level, clientType: String): Unit
    Definition Classes
    RawCommandPack
  2. abstract def createPreprocessor(replyCount: Int): ReplyPreprocessor
    Definition Classes
    RawCommandPack
  3. abstract def decodeReplies(replies: (Int) ⇒ RedisReply, index: Index = new Index, inTransaction: Boolean = false): A
    Definition Classes
    RedisBatch
  4. abstract def rawCommands(inTransaction: Boolean): RawCommands
    Definition Classes
    RawCommandPack

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def *>[B](other: RedisBatch[B]): RedisBatch[B]

    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]

    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]

    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
    Definition Classes
    AnyRef → Any
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def asking: RedisBatch[A]

    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]

    Returns a batch which invokes the same commands as this batch but atomically.

    Returns a batch which invokes the same commands as this batch but atomically. If this batch is already atomic then it's returned unchanged. Otherwise, it's wrapped into a Redis transaction (MULTI-EXEC block). Empty batches, single-command batches and transactions are atomic by themselves and therefore are returned unchanged.

    Definition Classes
    RedisBatch
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  11. final def computeSize(limit: Int): Int
    Definition Classes
    RawCommandPackRawCommandPacks
  12. final def emitCommandPacks(consumer: (RawCommandPack) ⇒ Unit): Unit
    Definition Classes
    RawCommandPackRawCommandPacks
  13. final def encodedSize: Int
    Definition Classes
    RawCommandPacks
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def failed: RedisBatch[Throwable]
    Definition Classes
    RedisBatch
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def foreachKey(consumer: (ByteString) ⇒ Unit): Unit
    Definition Classes
    RawCommandPacks
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def ignoreFailures: RedisBatch[Unit]
    Definition Classes
    RedisBatch
  22. def isAsking: Boolean
    Definition Classes
    RawCommandPack
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def map[B](f: (A) ⇒ B): RedisBatch[B]
    Definition Classes
    RedisBatch
  25. def map2[B, C](other: RedisBatch[B])(f: (A, B) ⇒ C): RedisBatch[C]

    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
  26. def maxBlockingMillis: Int

    Maximum amount of time that these command packs may block on Redis side (like e.g.

    Maximum amount of time that these command packs may block on Redis side (like e.g. BLPOP). This method is overridden for RawCommand to return 0 and should be further overridden by each blocking command. Int.MaxValue should be returned for unlimited blocking.

    Definition Classes
    RawCommandPacks
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def operation: RedisOp[A]

    Transforms this batch into a RedisOp.

    Transforms this batch into a RedisOp.

    Definition Classes
    RedisBatch
  31. final def rawCommandPacks: RawCommandPacks
    Definition Classes
    SinglePackBatchRedisBatch
  32. def recover[B >: A](f: PartialFunction[Throwable, B]): RedisBatch[B]
    Definition Classes
    RedisBatch
  33. final def requireLevel(minAllowed: Level, clientType: String): SinglePackBatch.this.type
    Definition Classes
    RawCommandPacks
  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. def transaction: RedisBatch[A]

    Wraps this batch into a Redis transaction, i.e.

    Wraps this batch into a Redis transaction, i.e. ensures that it's executed inside a MULTI-EXEC block. NOTE: If you simply want to ensure atomicity, use atomic. NOTE: You can safely nest transactions, the driver will make sure that there are no nested MULTI-EXEC blocks on the wire.

    Definition Classes
    RedisBatch
  37. def transform[B](fun: (commons.Try[A]) ⇒ commons.Try[B]): RedisBatch[B]
    Definition Classes
    RedisBatch
  38. def tried: RedisBatch[commons.Try[A]]
    Definition Classes
    RedisBatch
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  42. def zip[B](other: RedisBatch[B]): RedisBatch[(A, B)]
    Definition Classes
    RedisBatch

Inherited from RawCommandPack

Inherited from RawCommandPacks

Inherited from RedisBatch[A]

Inherited from AnyRef

Inherited from Any

Ungrouped