Class ReactiveStringCommands.GetExCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveStringCommands.GetExCommand
- All Implemented Interfaces:
- ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveStringCommands
ReactiveRedisConnection.Command for GETEX.- Since:
- 2.6
- Author:
- Mark Paluch
- 
Method SummaryModifier and TypeMethodDescriptionGet theExpirationto apply.key(ByteBuffer key) Creates a newReactiveStringCommands.GetExCommandgiven akey.withExpiration(Expiration expiration) AppliesExpiration.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 newReactiveStringCommands.GetExCommandgiven akey.- Parameters:
- key- must not be null.
- Returns:
- a new ReactiveStringCommands.GetExCommandforkey.
 
- 
withExpirationAppliesExpiration. Constructs a new command instance with all previously configured properties.- Parameters:
- expiration- must not be null.
- Returns:
- a new ReactiveStringCommands.GetExCommandwithExpirationapplied.
 
- 
getExpirationGet theExpirationto apply.- Returns:
- never null.
 
 
-