trait RawCommandPack extends RawCommandPacks
Represents a sequence of commands that is always executed atomically, using a single network call
on a single Redis connection. RawCommandPack is effectively either a single command or a transaction,
optionally preceded by the ASKING
special command.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- RawCommandPack
- RawCommandPacks
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def checkLevel(minAllowed: Level, clientType: String): Unit
- abstract def createPreprocessor(replyCount: Int): ReplyPreprocessor
- abstract def rawCommands(inTransaction: Boolean): RawCommands
Concrete Value Members
-
final
def
computeSize(limit: Int): Int
- Definition Classes
- RawCommandPack → RawCommandPacks
-
final
def
emitCommandPacks(consumer: (RawCommandPack) ⇒ Unit): Unit
- Definition Classes
- RawCommandPack → RawCommandPacks
-
final
def
encodedSize: Int
- Definition Classes
- RawCommandPacks
-
final
def
foreachKey(consumer: (ByteString) ⇒ Unit): Unit
- Definition Classes
- RawCommandPacks
- def isAsking: Boolean
-
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
-
final
def
requireLevel(minAllowed: Level, clientType: String): RawCommandPack.this.type
- Definition Classes
- RawCommandPacks