public static class ReactiveStringCommands.SetBitCommand extends ReactiveRedisConnection.KeyCommand
SETBIT command parameters.| Modifier and Type | Method and Description |
|---|---|
ReactiveStringCommands.SetBitCommand |
atOffset(long index)
Applies the offset index.
|
static ReactiveStringCommands.SetBitCommand |
bit(ByteBuffer key)
Creates a new
ReactiveStringCommands.SetBitCommand given a key. |
Long |
getOffset() |
boolean |
getValue() |
ReactiveStringCommands.SetBitCommand |
to(boolean bit)
Applies the bit.
|
getKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic static ReactiveStringCommands.SetBitCommand bit(ByteBuffer key)
ReactiveStringCommands.SetBitCommand given a key.key - must not be null.ReactiveStringCommands.SetBitCommand for a key.public ReactiveStringCommands.SetBitCommand atOffset(long index)
index - ReactiveStringCommands.SetBitCommand with offset applied.public ReactiveStringCommands.SetBitCommand to(boolean bit)
bit - ReactiveStringCommands.SetBitCommand with offset applied.public boolean getValue()
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.