com
.
github
.
j5ik2o
.
reactive
.
redis
.
feature
KeysAPI
Related Doc:
package feature
trait
KeysAPI
[
M
[
_
]
]
extends
AnyRef
https://redis.io/commands#generics
Linear Supertypes
AnyRef
,
Any
Known Subclasses
KeysFeature
,
RedisClient
Ordering
Alphabetic
By Inheritance
Inherited
KeysAPI
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Abstract Value Members
abstract
def
del
(
keys:
NonEmptyList
[
String
]
)
:
M
[
Result
[
Long
]]
abstract
def
del
(
key:
String
,
keys:
String
*
)
:
M
[
Result
[
Long
]]
abstract
def
dump
(
key:
String
)
:
M
[
Result
[
Option
[
Array
[
Byte
]]]]
abstract
def
exists
(
key:
String
)
:
M
[
Result
[
Boolean
]]
abstract
def
expire
(
key:
String
,
seconds:
FiniteDuration
)
:
M
[
Result
[
Boolean
]]
abstract
def
expireAt
(
key:
String
,
expiresAt:
ZonedDateTime
)
:
M
[
Result
[
Boolean
]]
abstract
def
keys
(
pattern:
String
)
:
M
[
Result
[
Seq
[
String
]]]
abstract
def
migrate
(
host:
String
,
port:
Int
,
key:
String
,
toDbNo:
Int
,
timeout:
FiniteDuration
,
copy:
Boolean
,
replease:
Boolean
,
keys:
NonEmptyList
[
String
]
)
:
M
[
Result
[
Status
]]
abstract
def
move
(
key:
String
,
db:
Int
)
:
M
[
Result
[
Boolean
]]
abstract
def
objectEncoding
(
key:
String
)
:
M
[
Result
[
Option
[
String
]]]
abstract
def
objectIdleTime
(
key:
String
)
:
M
[
Result
[
Long
]]
abstract
def
objectRefCount
(
key:
String
)
:
M
[
Result
[
Long
]]
abstract
def
pExpire
(
key:
String
,
milliseconds:
FiniteDuration
)
:
M
[
Result
[
Boolean
]]
abstract
def
pExpireAt
(
key:
String
,
millisecondsTimestamp:
ZonedDateTime
)
:
M
[
Result
[
Boolean
]]
abstract
def
pTtl
(
key:
String
)
:
M
[
Result
[
Duration
]]
abstract
def
persist
(
key:
String
)
:
M
[
Result
[
Boolean
]]
abstract
def
randomKey
()
:
M
[
Result
[
Option
[
String
]]]
abstract
def
rename
(
key:
String
,
newKey:
String
)
:
M
[
Result
[
Unit
]]
abstract
def
renameNx
(
key:
String
,
newKey:
String
)
:
M
[
Result
[
Boolean
]]
abstract
def
scan
(
cursor:
String
)
:
M
[
Result
[
ScanResult
]]
abstract
def
sort
(
key:
String
,
byPattern:
Option
[
ByPattern
] =
None
,
limitOffset:
Option
[
LimitOffset
] =
None
,
getPatterns:
Seq
[
GetPattern
] =
Seq.empty
,
order:
Option
[
Order
] =
None
,
alpha:
Boolean
=
false
)
:
M
[
Result
[
Seq
[
Option
[
String
]]]]
abstract
def
sortToDestination
(
key:
String
,
byPattern:
Option
[
ByPattern
] =
None
,
limitOffset:
Option
[
LimitOffset
] =
None
,
getPatterns:
Seq
[
GetPattern
] =
Seq.empty
,
order:
Option
[
Order
] =
None
,
alpha:
Boolean
=
false
,
destination:
String
)
:
M
[
Result
[
Long
]]
abstract
def
touch
(
keys:
NonEmptyList
[
String
]
)
:
M
[
Result
[
Long
]]
abstract
def
touch
(
key:
String
,
keys:
String
*
)
:
M
[
Result
[
Long
]]
abstract
def
ttl
(
key:
String
)
:
M
[
Result
[
Duration
]]
abstract
def
type
(
key:
String
)
:
M
[
Result
[
ValueType
]]
abstract
def
unlink
(
keys:
NonEmptyList
[
String
]
)
:
M
[
Result
[
Long
]]
abstract
def
unlink
(
key:
String
,
keys:
String
*
)
:
M
[
Result
[
Long
]]
abstract
def
waitReplicas
(
numOfReplicas:
Int
,
timeout:
Duration
)
:
M
[
Result
[
Long
]]
Concrete Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
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
(
...
)
Inherited from
AnyRef
Inherited from
Any
Ungrouped
https://redis.io/commands#generics