public static class ReactiveStringCommands.GetExCommand extends ReactiveRedisConnection.KeyCommand
ReactiveRedisConnection.Command
for GETEX
.Modifier and Type | Method and Description |
---|---|
Expiration |
getExpiration()
Get the
Expiration to apply. |
static ReactiveStringCommands.GetExCommand |
key(ByteBuffer key)
Creates a new
ReactiveStringCommands.GetExCommand given a key . |
ReactiveStringCommands.GetExCommand |
withExpiration(Expiration expiration)
Applies
Expiration . |
getKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public static ReactiveStringCommands.GetExCommand key(ByteBuffer key)
ReactiveStringCommands.GetExCommand
given a key
.key
- must not be null.ReactiveStringCommands.GetExCommand
for key
.public ReactiveStringCommands.GetExCommand withExpiration(Expiration expiration)
Expiration
. Constructs a new command instance with all previously configured properties.expiration
- must not be null.ReactiveStringCommands.GetExCommand
with Expiration
applied.public Expiration getExpiration()
Expiration
to apply.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.