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
- Since:
- 2.0
- Author:
- Christoph Strobl, Mark Paluch, Tihomir Mateev
-
Method Summary
Modifier and TypeMethodDescriptionexpire(List<ByteBuffer> fields, Expiration expiration) Creates a newReactiveHashCommands.HGetExCommand.fields(Collection<ByteBuffer> fields) Creates a newReactiveHashCommands.HGetExCommand.from(ByteBuffer key) Methods 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, Expiration expiration) Creates a newReactiveHashCommands.HGetExCommand.- Parameters:
fields- thefieldsnames to apply expiration toexpiration- theExpirationto 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
-