public static class ReactiveKeyCommands.ExpireCommand extends ReactiveRedisConnection.KeyCommand
EXPIRE/PEXPIRE command parameters.| Modifier and Type | Method and Description |
|---|---|
Duration |
getTimeout() |
static ReactiveKeyCommands.ExpireCommand |
key(ByteBuffer key)
Creates a new
ReactiveKeyCommands.ExpireCommand given a key. |
ReactiveKeyCommands.ExpireCommand |
timeout(Duration timeout)
Applies the timeout.
|
getKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic static ReactiveKeyCommands.ExpireCommand key(ByteBuffer key)
ReactiveKeyCommands.ExpireCommand given a key.key - must not be null.ReactiveKeyCommands.ExpireCommand for key.public ReactiveKeyCommands.ExpireCommand timeout(Duration timeout)
timeout - must not be null.ReactiveKeyCommands.ExpireCommand with timeout applied.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.