K - Key type.V - Value type.public class IntegerListOutput<K,V> extends CommandOutput<K,V,List<Long>> implements StreamingOutput<Long>
List of 64-bit integer output.StreamingOutput.Subscriber<T>codec, error, output| Constructor and Description |
|---|
IntegerListOutput(RedisCodec<K,V> codec) |
| Modifier and Type | Method and Description |
|---|---|
StreamingOutput.Subscriber<Long> |
getSubscriber()
Retrieves the
StreamingOutput.Subscriber. |
void |
multi(int count)
Mark the beginning of a multi sequence (array).
|
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 |
setSubscriber(StreamingOutput.Subscriber<Long> subscriber)
Sets the
StreamingOutput.Subscriber. |
complete, decodeAscii, get, getError, hasError, multiArray, multiMap, multiPush, multiSet, set, set, setBigNumber, setError, setError, setSingle, toStringpublic IntegerListOutput(RedisCodec<K,V> codec)
public void set(long integer)
CommandOutputCommandOutput implementations must override this
method to decode number (integer) response values.public 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<Long> subscriber)
StreamingOutputStreamingOutput.Subscriber.setSubscriber in interface StreamingOutput<Long>public StreamingOutput.Subscriber<Long> getSubscriber()
StreamingOutputStreamingOutput.Subscriber.getSubscriber in interface StreamingOutput<Long>Copyright © 2025 lettuce.io. All rights reserved.