K - Key type.V - Value type.public class ErrorTolerantBooleanListOutput<K,V> extends CommandOutput<K,V,List<Boolean>> implements StreamingOutput<Boolean>
List of boolean output.StreamingOutput.Subscriber<T>codec, error, output| Constructor and Description |
|---|
ErrorTolerantBooleanListOutput(RedisCodec<K,V> codec) |
| Modifier and Type | Method and Description |
|---|---|
StreamingOutput.Subscriber<Boolean> |
getSubscriber()
Retrieves the
StreamingOutput.Subscriber. |
void |
multi(int count)
Mark the beginning of a multi sequence (array).
|
void |
set(boolean value)
Update the command output with a boolean.
|
void |
set(ByteBuffer bytes)
Update the command output with a sequence of bytes, or
null. |
void |
set(long integer)
Update the command output with a 64-bit signed integer.
|
void |
setError(ByteBuffer error)
Set command output to an error message from the server.
|
void |
setSubscriber(StreamingOutput.Subscriber<Boolean> subscriber)
Sets the
StreamingOutput.Subscriber. |
complete, decodeString, get, getError, hasError, multiArray, multiMap, multiPush, multiSet, set, setBigNumber, setError, setSingle, toStringpublic ErrorTolerantBooleanListOutput(RedisCodec<K,V> codec)
public void set(long integer)
CommandOutputCommandOutput implementations must override this
method to decode number (integer) response values.public void set(boolean value)
CommandOutputCommandOutput implementations must override this method to
decode boolean response values.public void setError(ByteBuffer error)
CommandOutputpublic void set(ByteBuffer bytes)
CommandOutputnull. Concrete CommandOutput implementations must
override this method to decode bulk/bytes response values.public void multi(int count)
CommandOutputpublic void setSubscriber(StreamingOutput.Subscriber<Boolean> subscriber)
StreamingOutputStreamingOutput.Subscriber.setSubscriber in interface StreamingOutput<Boolean>public StreamingOutput.Subscriber<Boolean> getSubscriber()
StreamingOutputStreamingOutput.Subscriber.getSubscriber in interface StreamingOutput<Boolean>Copyright © 2026 lettuce.io. All rights reserved.