K - Key type.V - Value type.public class BooleanOutput<K,V> extends CommandOutput<K,V,Boolean>
codec, error, output| Constructor and Description |
|---|
BooleanOutput(RedisCodec<K,V> codec) |
| Modifier and Type | Method and Description |
|---|---|
void |
set(ByteBuffer bytes)
Set the command output to a sequence of bytes, or null.
|
void |
set(long integer)
Set the command output to a 64-bit signed integer.
|
public BooleanOutput(RedisCodec<K,V> codec)
public void set(long integer)
CommandOutputCommandOutput implementations must override this
method unless they only receive a byte array value.set in class CommandOutput<K,V,Boolean>integer - The command output.public void set(ByteBuffer bytes)
CommandOutputCommandOutput implementations must override this
method unless they only receive an integer value which cannot be null.set in class CommandOutput<K,V,Boolean>bytes - The command output, or null.Copyright © 2019 lettuce.io. All rights reserved.