Class ReactiveKeyCommands.ExpireCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveKeyCommands.ExpireCommand
- All Implemented Interfaces:
- ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveKeyCommands
EXPIRE/PEXPIRE command parameters.- Author:
- Mark Paluch
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionkey(ByteBuffer key) Creates a newReactiveKeyCommands.ExpireCommandgiven akey.Applies the timeout.Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommandgetKeyMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.CommandgetName
- 
Method Details- 
keyCreates a newReactiveKeyCommands.ExpireCommandgiven akey.- Parameters:
- key- must not be null.
- Returns:
- a new ReactiveKeyCommands.ExpireCommandforkey.
 
- 
timeoutApplies the timeout. Constructs a new command instance with all previously configured properties.- Parameters:
- timeout- must not be null.
- Returns:
- a new ReactiveKeyCommands.ExpireCommandwith timeout applied.
 
- 
getTimeout- Returns:
- can be null.
 
 
-