Class ReactiveHashCommands.HGetExCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveHashCommands.HashFieldsCommand
org.springframework.data.redis.connection.ReactiveHashCommands.HGetExCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
ReactiveHashCommands
public static class ReactiveHashCommands.HGetExCommand
extends ReactiveHashCommands.HashFieldsCommand
HGETEX
ReactiveRedisConnection.Command.- Since:
- 4.0
- Author:
- Viktoriya Kutsarova
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionexpire(List<ByteBuffer> fields, @Nullable Expiration expiration) Creates a newReactiveHashCommands.HGetExCommand.fields(Collection<ByteBuffer> fields) Creates a newReactiveHashCommands.HGetExCommand.from(ByteBuffer key) @Nullable ExpirationMethods inherited from class ReactiveHashCommands.HashFieldsCommand
getFieldsMethods 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
-
expire
public static ReactiveHashCommands.HGetExCommand expire(List<ByteBuffer> fields, @Nullable Expiration expiration) Creates a newReactiveHashCommands.HGetExCommand.- Parameters:
fields- thefieldsnames to apply expiration toexpiration- the optionalExpirationto apply to the given fields.- Returns:
- new instance of
ReactiveHashCommands.HGetExCommand.
-
from
- Parameters:
key- the key from which to expire the fields from.- Returns:
- new instance of
ReactiveHashCommands.HashExpireCommand.
-
fields
Creates a newReactiveHashCommands.HGetExCommand.- Parameters:
fields- thefieldsnames to apply expiration to- Returns:
- new instance of
ReactiveHashCommands.HGetExCommand.
-
getExpiration
-