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.- Since:
- 2.0
- Author:
- Mark Paluch
- See Also:
-
Method Summary
Modifier and TypeMethodDescription@Nullable Instantkey(ByteBuffer key) Creates a newReactiveKeyCommands.ExpireAtCommandgiven akey.Applies the expireAt.withOptions(ExpirationOptions options) Methods inherited from class ReactiveRedisConnection.KeyCommand
getKeyMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ReactiveRedisConnection.Command
getName
-
Method Details
-
key
Creates a newReactiveKeyCommands.ExpireAtCommandgiven akey.- Parameters:
key- must not be null.- Returns:
- a new
ReactiveKeyCommands.ExpireCommandforkey.
-
timeout
Applies the expireAt. Constructs a new command instance with all previously configured properties.- Parameters:
expireAt- must not be null.- Returns:
- a new
ReactiveKeyCommands.ExpireAtCommandwith expireAt applied.
-
withOptions
- Parameters:
options- additional options to be sent along with the command.- Returns:
- new instance of
ReactiveKeyCommands.ExpireAtCommand. - Since:
- 3.5
-
getExpireAt
- Returns:
- can be null.
-
getOptions
-