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
getFields
Methods inherited from class ReactiveRedisConnection.KeyCommand
getKey
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
- thefields
names to apply expiration toexpiration
- theExpiration
to 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
- thefields
names to apply expiration to- Returns:
- new instance of
ReactiveHashCommands.HGetExCommand
.
-
getExpiration
-