public static class ReactiveKeyCommands.RenameCommand extends ReactiveRedisConnection.KeyCommand
RENAME
command parameters.Modifier and Type | Method and Description |
---|---|
ByteBuffer |
getNewName() |
static ReactiveKeyCommands.RenameCommand |
key(ByteBuffer key)
Creates a new
ReactiveKeyCommands.RenameCommand given a key . |
ReactiveKeyCommands.RenameCommand |
to(ByteBuffer newName)
Applies the newName.
|
getKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public static ReactiveKeyCommands.RenameCommand key(ByteBuffer key)
ReactiveKeyCommands.RenameCommand
given a key
.key
- must not be null.ReactiveKeyCommands.RenameCommand
for key
.public ReactiveKeyCommands.RenameCommand to(ByteBuffer newName)
newName
- must not be null.ReactiveKeyCommands.RenameCommand
with newName applied.@Nullable public ByteBuffer getNewName()
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.