public static class ReactiveKeyCommands.MoveCommand extends ReactiveRedisConnection.KeyCommand
MOVE command parameters.| Modifier and Type | Method and Description |
|---|---|
Integer |
getDatabase() |
static ReactiveKeyCommands.MoveCommand |
key(ByteBuffer key)
Creates a new
ReactiveKeyCommands.MoveCommand given a key. |
ReactiveKeyCommands.MoveCommand |
timeout(int database)
Applies the database index.
|
getKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic static ReactiveKeyCommands.MoveCommand key(ByteBuffer key)
ReactiveKeyCommands.MoveCommand given a key.key - must not be null.ReactiveKeyCommands.ExpireCommand for key.public ReactiveKeyCommands.MoveCommand timeout(int database)
database - ReactiveKeyCommands.MoveCommand with database applied.@Nullable public Integer getDatabase()
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.