redis
.
commands
TransactionBuilder
case class
TransactionBuilder
(
redisConnection:
ActorRef
)
extends
RedisCommands
with
Product
with
Serializable
Source
Transactions.scala
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
RedisCommands
,
Server
,
Connection
,
Publish
,
SortedSets
,
Sets
,
Lists
,
Hashes
,
Strings
,
Keys
,
Request
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
TransactionBuilder
Serializable
Serializable
Product
Equals
RedisCommands
Server
Connection
Publish
SortedSets
Sets
Lists
Hashes
Strings
Keys
Request
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
TransactionBuilder
(
redisConnection:
ActorRef
)
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
def
append
[
A
]
(
key:
String
,
value:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Strings
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
auth
[
A
]
(
value:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Status
]
Definition Classes
Connection
def
bgrewriteaof
[
A
]
()
(
implicit
ec:
ExecutionContext
)
:
Future
[
String
]
Definition Classes
Server
def
bgsave
()
(
implicit
ec:
ExecutionContext
)
:
Future
[
String
]
Definition Classes
Server
def
bitcount
(
key:
String
,
start:
Long
,
end:
Long
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Strings
def
bitcount
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Strings
def
bitop
(
operation:
String
,
destkey:
String
,
keys:
String
*
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Strings
def
bitopAND
(
destkey:
String
,
keys:
String
*
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Strings
def
bitopNOT
(
destkey:
String
,
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Strings
def
bitopOR
(
destkey:
String
,
keys:
String
*
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Strings
def
bitopXOR
(
destkey:
String
,
keys:
String
*
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Strings
def
clientGetname
()
(
implicit
ec:
ExecutionContext
)
:
Future
[
Option
[
String
]]
Definition Classes
Server
def
clientKill
(
ip:
String
,
port:
Int
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Server
def
clientList
()
(
implicit
ec:
ExecutionContext
)
:
Future
[
String
]
Definition Classes
Server
def
clientSetname
(
connectionName:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Server
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
configGet
(
parameter:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Option
[
String
]]
Definition Classes
Server
def
configResetstat
(
parameter:
String
,
value:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Server
def
configSet
(
parameter:
String
,
value:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Server
def
dbsize
()
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Server
def
debugObject
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
ByteString
]
Definition Classes
Server
def
debugSegfault
()
(
implicit
ec:
ExecutionContext
)
:
Future
[
ByteString
]
Definition Classes
Server
def
decr
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Strings
def
decrby
(
key:
String
,
decrement:
Long
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Strings
def
del
(
keys:
String
*
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Keys
def
discard
()
:
Unit
def
dump
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Option
[
ByteString
]]
Definition Classes
Keys
def
echo
[
A
]
(
value:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Option
[
ByteString
]]
Definition Classes
Connection
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
exec
()
(
implicit
ec:
ExecutionContext
)
:
Future
[
MultiBulk
]
def
exists
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Keys
def
expire
(
key:
String
,
seconds:
Long
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Keys
def
expireat
(
key:
String
,
seconds:
Long
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Keys
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
flushall
()
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Server
def
flushdb
()
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Server
def
get
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Option
[
ByteString
]]
Definition Classes
Strings
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getbit
(
key:
String
,
offset:
Long
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Strings
def
getrange
(
key:
String
,
start:
Long
,
end:
Long
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Option
[
ByteString
]]
Definition Classes
Strings
def
getset
[
A
]
(
key:
String
,
value:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Option
[
ByteString
]]
Definition Classes
Strings
def
hdel
(
key:
String
,
fields:
String
*
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Hashes
def
hexists
(
key:
String
,
field:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Hashes
def
hget
(
key:
String
,
field:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Option
[
ByteString
]]
Definition Classes
Hashes
def
hgetall
(
key:
String
)
(
implicit
convert:
MultiBulkConverter
[
Map
[
String
,
ByteString
]]
,
ec:
ExecutionContext
)
:
Future
[
Try
[
Map
[
String
,
ByteString
]]]
Definition Classes
Hashes
def
hincrby
(
key:
String
,
fields:
String
,
increment:
Long
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Hashes
def
hincrbyfloat
(
key:
String
,
fields:
String
,
increment:
Double
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Double
]
Definition Classes
Hashes
def
hkeys
(
key:
String
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[
String
]]
,
ec:
ExecutionContext
)
:
Future
[
Try
[
Seq
[
String
]]]
Definition Classes
Hashes
def
hlen
(
key:
String
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[
String
]]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Hashes
def
hmget
(
key:
String
,
fields:
String
*
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[
Option
[
ByteString
]]]
,
ec:
ExecutionContext
)
:
Future
[
Try
[
Seq
[
Option
[
ByteString
]]]]
Definition Classes
Hashes
def
hmset
[
A
]
(
key:
String
,
keysValues:
Map
[
String
,
A
]
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Hashes
def
hset
[
A
]
(
key:
String
,
field:
String
,
value:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Hashes
def
hsetnx
[
A
]
(
key:
String
,
field:
String
,
value:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Hashes
def
hvals
[
A
]
(
key:
String
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[
ByteString
]]
,
ec:
ExecutionContext
)
:
Future
[
Try
[
Seq
[
ByteString
]]]
Definition Classes
Hashes
def
incr
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Strings
def
incrby
(
key:
String
,
increment:
Long
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Strings
def
incrbyfloat
(
key:
String
,
increment:
Double
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Option
[
Double
]]
Definition Classes
Strings
def
info
(
section:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
String
]
Definition Classes
Server
def
info
()
(
implicit
ec:
ExecutionContext
)
:
Future
[
String
]
Definition Classes
Server
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
keys
(
pattern:
String
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[
String
]]
,
ec:
ExecutionContext
)
:
Future
[
Try
[
Seq
[
String
]]]
Definition Classes
Keys
def
lastsave
()
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Server
def
lindex
(
key:
String
,
index:
Long
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Option
[
ByteString
]]
Definition Classes
Lists
def
linsert
[
A
]
(
key:
String
,
beforeAfter:
String
,
pivot:
String
,
value:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Lists
def
linsertAfter
[
A
]
(
key:
String
,
pivot:
String
,
value:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Lists
def
linsertBefore
[
A
]
(
key:
String
,
pivot:
String
,
value:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Lists
def
llen
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Lists
def
lpop
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Option
[
ByteString
]]
Definition Classes
Lists
def
lpush
[
A
]
(
key:
String
,
values:
A
*
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Lists
def
lpushx
[
A
]
(
key:
String
,
value:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Lists
def
lrange
(
key:
String
,
start:
Long
,
stop:
Long
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[
ByteString
]]
,
ec:
ExecutionContext
)
:
Future
[
Try
[
Seq
[
ByteString
]]]
Definition Classes
Lists
def
lrem
[
A
]
(
key:
String
,
count:
Long
,
value:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Lists
def
lset
[
A
]
(
key:
String
,
index:
Long
,
value:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Lists
def
ltrim
(
key:
String
,
start:
Long
,
stop:
Long
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Lists
def
mget
(
keys:
String
*
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
MultiBulk
]
Definition Classes
Strings
def
migrate
(
host:
String
,
port:
Int
,
key:
String
,
destinationDB:
Int
,
timeout:
FiniteDuration
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Keys
def
monitor
()
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Server
def
move
(
key:
String
,
db:
Int
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Keys
def
mset
[
A
]
(
keysValues:
Map
[
String
,
A
]
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Strings
def
msetnx
[
A
]
(
keysValues:
Map
[
String
,
A
]
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Strings
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
objectEncoding
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Option
[
String
]]
Definition Classes
Keys
def
objectIdletime
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Option
[
Long
]]
Definition Classes
Keys
def
objectRefcount
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Option
[
Long
]]
Definition Classes
Keys
val
operations
:
Builder
[(
ByteString
,
Promise
[
RedisReply
]),
Queue
[(
ByteString
,
Promise
[
RedisReply
])]]
def
persist
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Keys
def
pexpire
(
key:
String
,
milliseconds:
Long
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Keys
def
pexpireat
(
key:
String
,
millisecondsTimestamp:
Long
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Keys
def
ping
()
(
implicit
ec:
ExecutionContext
)
:
Future
[
String
]
Definition Classes
Connection
def
psetex
[
A
]
(
key:
String
,
milliseconds:
Long
,
value:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Strings
def
pttl
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Keys
def
publish
[
A
]
(
channel:
String
,
value:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Publish
def
quit
()
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Connection
def
randomkey
()
(
implicit
ec:
ExecutionContext
)
:
Future
[
Option
[
ByteString
]]
Definition Classes
Keys
val
redisConnection
:
ActorRef
Definition Classes
TransactionBuilder
→
Request
def
rename
(
key:
String
,
newkey:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Keys
def
renamenx
(
key:
String
,
newkey:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Keys
def
restore
[
A
]
(
key:
String
,
ttl:
Long
=
0
,
serializedValue:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Keys
def
rpop
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Option
[
ByteString
]]
Definition Classes
Lists
def
rpoplpush
(
source:
String
,
destination:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Option
[
ByteString
]]
Definition Classes
Lists
def
rpush
[
A
]
(
key:
String
,
values:
A
*
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Lists
def
rpushx
[
A
]
(
key:
String
,
value:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Lists
def
sadd
[
A
]
(
key:
String
,
members:
A
*
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Sets
def
save
()
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Server
def
scard
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Sets
def
sdiff
(
key:
String
,
keys:
String
*
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[
ByteString
]]
,
ec:
ExecutionContext
)
:
Future
[
Try
[
Seq
[
ByteString
]]]
Definition Classes
Sets
def
sdiffstore
(
destination:
String
,
key:
String
,
keys:
String
*
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[
ByteString
]]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Sets
def
select
(
index:
Int
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Connection
def
send
(
request:
ByteString
)
:
Future
[
Any
]
request
returns
Definition Classes
TransactionBuilder
→
Request
def
send
(
command:
String
)
:
Future
[
Any
]
Definition Classes
Request
def
send
(
command:
String
,
args:
Seq
[
ByteString
]
)
:
Future
[
Any
]
Definition Classes
Request
def
set
[
A
]
(
key:
String
,
value:
A
,
exSeconds:
Option
[
Long
] =
None
,
pxMilliseconds:
Option
[
Long
] =
None
,
NX:
Boolean
=
false
,
XX:
Boolean
=
false
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Strings
def
setbit
(
key:
String
,
offset:
Long
,
value:
Boolean
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Strings
def
setex
[
A
]
(
key:
String
,
seconds:
Long
,
value:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Strings
def
setnx
[
A
]
(
key:
String
,
value:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Strings
def
setrange
[
A
]
(
key:
String
,
offset:
Long
,
value:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Strings
def
shutdown
(
modifier:
ShutdownModifier
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Server
def
shutdown
()
(
implicit
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Server
def
sinter
(
key:
String
,
keys:
String
*
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[
ByteString
]]
,
ec:
ExecutionContext
)
:
Future
[
Try
[
Seq
[
ByteString
]]]
Definition Classes
Sets
def
sinterstore
(
destination:
String
,
key:
String
,
keys:
String
*
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[
ByteString
]]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Sets
def
sismember
[
A
]
(
key:
String
,
member:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Sets
def
slaveof
(
host:
String
,
port:
Int
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
String
]
Definition Classes
Server
def
slowlog
(
subcommand:
String
,
argument:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
String
]
Definition Classes
Server
def
smembers
(
key:
String
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[
ByteString
]]
,
ec:
ExecutionContext
)
:
Future
[
Try
[
Seq
[
ByteString
]]]
Definition Classes
Sets
def
smove
[
A
]
(
source:
String
,
destination:
String
,
member:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Boolean
]
Definition Classes
Sets
def
sort
(
key:
String
,
byPattern:
Option
[
String
] =
None
,
limit:
Option
[
LimitOffsetCount
] =
None
,
getPatterns:
Seq
[
String
] =
Seq()
,
order:
Option
[
Order
] =
None
,
alpha:
Boolean
=
false
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Try
[
Seq
[
ByteString
]]]
Definition Classes
Keys
def
sortStore
(
key:
String
,
byPattern:
Option
[
String
] =
None
,
limit:
Option
[
LimitOffsetCount
] =
None
,
getPatterns:
Seq
[
String
] =
Seq()
,
order:
Option
[
Order
] =
None
,
alpha:
Boolean
=
false
,
store:
Option
[
String
] =
None
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Keys
def
spop
[
A
]
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Option
[
ByteString
]]
Definition Classes
Sets
def
srandmember
[
A
]
(
key:
String
,
count:
Long
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[
ByteString
]]
,
ec:
ExecutionContext
)
:
Future
[
Try
[
Seq
[
ByteString
]]]
Definition Classes
Sets
def
srandmember
[
A
]
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Option
[
ByteString
]]
Definition Classes
Sets
def
srem
[
A
]
(
key:
String
,
members:
A
*
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Sets
def
strlen
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Strings
def
sunion
(
key:
String
,
keys:
String
*
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[
ByteString
]]
,
ec:
ExecutionContext
)
:
Future
[
Try
[
Seq
[
ByteString
]]]
Definition Classes
Sets
def
sunionstore
(
destination:
String
,
key:
String
,
keys:
String
*
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Sets
def
sync
()
(
implicit
ec:
ExecutionContext
)
:
Future
[
RedisReply
]
Definition Classes
Server
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
time
()
(
implicit
convert:
MultiBulkConverter
[
Seq
[
ByteString
]]
,
ec:
ExecutionContext
)
:
Future
[
Try
[
Seq
[
ByteString
]]]
Definition Classes
Server
def
ttl
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
Keys
def
type
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
String
]
Definition Classes
Keys
def
unwatch
()
:
Unit
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
watch
(
keys:
String
*
)
:
Unit
val
watcher
:
Builder
[
String
,
Set
[
String
]]
def
zadd
[
A
]
(
key:
String
,
scoreMembers: (
Double
,
A
)*
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
SortedSets
def
zcard
(
key:
String
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
SortedSets
def
zcount
(
key:
String
,
min:
Limit
=
Limit(Double.NegativeInfinity)
,
max:
Limit
=
Limit(Double.PositiveInfinity)
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
SortedSets
def
zincrby
[
A
]
(
key:
String
,
increment:
Double
,
member:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Double
]
Definition Classes
SortedSets
def
zinterstore
(
destination:
String
,
key:
String
,
keys:
Seq
[
String
]
,
aggregate:
Aggregate
=
SUM
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[
ByteString
]]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
SortedSets
def
zinterstoreWeighted
(
destination:
String
,
keys:
Seq
[(
String
,
Double
)]
,
aggregate:
Aggregate
=
SUM
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[
ByteString
]]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
SortedSets
def
zrange
(
key:
String
,
start:
Long
,
stop:
Long
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[
ByteString
]]
,
ec:
ExecutionContext
)
:
Future
[
Try
[
Seq
[
ByteString
]]]
Definition Classes
SortedSets
def
zrangeWithscores
(
key:
String
,
start:
Long
,
stop:
Long
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[(
ByteString
,
Double
)]]
,
ec:
ExecutionContext
)
:
Future
[
Try
[
Seq
[(
ByteString
,
Double
)]]]
Definition Classes
SortedSets
def
zrangebyscore
(
key:
String
,
min:
Limit
,
max:
Limit
,
limit:
Option
[(
Long
,
Long
)] =
None
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[
ByteString
]]
,
ec:
ExecutionContext
)
:
Future
[
Try
[
Seq
[
ByteString
]]]
Definition Classes
SortedSets
def
zrangebyscoreWithscores
(
key:
String
,
min:
Limit
,
max:
Limit
,
limit:
Option
[(
Long
,
Long
)] =
None
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[(
ByteString
,
Double
)]]
,
ec:
ExecutionContext
)
:
Future
[
Try
[
Seq
[(
ByteString
,
Double
)]]]
Definition Classes
SortedSets
def
zrank
[
A
]
(
key:
String
,
member:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Option
[
Long
]]
Definition Classes
SortedSets
def
zrem
[
A
]
(
key:
String
,
members:
A
*
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
SortedSets
def
zremrangebyrank
(
key:
String
,
start:
Long
,
stop:
Long
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
SortedSets
def
zremrangebyscore
(
key:
String
,
min:
Limit
,
max:
Limit
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
SortedSets
def
zrevrange
(
key:
String
,
start:
Long
,
stop:
Long
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[
ByteString
]]
,
ec:
ExecutionContext
)
:
Future
[
Try
[
Seq
[
ByteString
]]]
Definition Classes
SortedSets
def
zrevrangeWithscores
(
key:
String
,
start:
Long
,
stop:
Long
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[(
ByteString
,
Double
)]]
,
ec:
ExecutionContext
)
:
Future
[
Try
[
Seq
[(
ByteString
,
Double
)]]]
Definition Classes
SortedSets
def
zrevrangebyscore
(
key:
String
,
min:
Limit
,
max:
Limit
,
limit:
Option
[(
Long
,
Long
)] =
None
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[
ByteString
]]
,
ec:
ExecutionContext
)
:
Future
[
Try
[
Seq
[
ByteString
]]]
Definition Classes
SortedSets
def
zrevrangebyscoreWithscores
(
key:
String
,
min:
Limit
,
max:
Limit
,
limit:
Option
[(
Long
,
Long
)] =
None
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[(
ByteString
,
Double
)]]
,
ec:
ExecutionContext
)
:
Future
[
Try
[
Seq
[(
ByteString
,
Double
)]]]
Definition Classes
SortedSets
def
zrevrank
[
A
]
(
key:
String
,
member:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Option
[
Long
]]
Definition Classes
SortedSets
def
zscore
[
A
]
(
key:
String
,
member:
A
)
(
implicit
convert:
RedisValueConverter
[
A
]
,
ec:
ExecutionContext
)
:
Future
[
Option
[
Double
]]
Definition Classes
SortedSets
def
zunionstore
(
destination:
String
,
key:
String
,
keys:
Seq
[
String
]
,
aggregate:
Aggregate
=
SUM
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[
ByteString
]]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
SortedSets
def
zunionstoreWeighted
(
destination:
String
,
keys:
Seq
[(
String
,
Double
)]
,
aggregate:
Aggregate
=
SUM
)
(
implicit
convert:
MultiBulkConverter
[
Seq
[
ByteString
]]
,
ec:
ExecutionContext
)
:
Future
[
Long
]
Definition Classes
SortedSets
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
RedisCommands
Inherited from
Server
Inherited from
Connection
Inherited from
Publish
Inherited from
SortedSets
Inherited from
Sets
Inherited from
Lists
Inherited from
Hashes
Inherited from
Strings
Inherited from
Keys
Inherited from
Request
Inherited from
AnyRef
Inherited from
Any
Ungrouped