Class ReactiveKeyCommands.ExpireAtCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveKeyCommands.ExpireAtCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveKeyCommands
EXPIREAT
/PEXPIREAT
command parameters.- Author:
- Mark Paluch
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionkey
(ByteBuffer key) Creates a newReactiveKeyCommands.ExpireAtCommand
given akey
.Applies the expireAt.Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
getKey
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.Command
getName
-
Method Details
-
key
Creates a newReactiveKeyCommands.ExpireAtCommand
given akey
.- Parameters:
key
- must not be null.- Returns:
- a new
ReactiveKeyCommands.ExpireCommand
forkey
.
-
timeout
Applies the expireAt. Constructs a new command instance with all previously configured properties.- Parameters:
expireAt
- must not be null.- Returns:
- a new
ReactiveKeyCommands.ExpireAtCommand
with expireAt applied.
-
getExpireAt
- Returns:
- can be null.
-