java.lang.Object
io.lettuce.core.output.CommandOutput<K,V,List<Long>>
io.lettuce.core.output.IntegerListOutput<K,V>
- Type Parameters:
K- Key type.V- Value type.
- All Implemented Interfaces:
StreamingOutput<Long>
public class IntegerListOutput<K,V> extends CommandOutput<K,V,List<Long>> implements StreamingOutput<Long>
List of 64-bit integer output.- Since:
- 5.3.2
- Author:
- Mark Paluch
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.lettuce.core.output.StreamingOutput
StreamingOutput.Subscriber<T> -
Field Summary
Fields inherited from class io.lettuce.core.output.CommandOutput
codec, error, output -
Constructor Summary
Constructors Constructor Description IntegerListOutput(RedisCodec<K,V> codec) -
Method Summary
Modifier and Type Method Description StreamingOutput.Subscriber<Long>getSubscriber()Retrieves theStreamingOutput.Subscriber.voidmulti(int count)Mark the beginning of a multi sequence (array).voidset(long integer)Update the command output with a 64-bit signed integer.voidsetSubscriber(StreamingOutput.Subscriber<Long> subscriber)Sets theStreamingOutput.Subscriber.Methods inherited from class io.lettuce.core.output.CommandOutput
complete, decodeAscii, get, getError, hasError, multiArray, multiMap, multiPush, multiSet, set, set, set, setBigNumber, setError, setError, setSingle, toString
-
Constructor Details
-
IntegerListOutput
-
-
Method Details
-
set
public void set(long integer)Description copied from class:CommandOutputUpdate the command output with a 64-bit signed integer. ConcreteCommandOutputimplementations must override this method to decodenumber(integer) response values. -
multi
public void multi(int count)Description copied from class:CommandOutputMark the beginning of a multi sequence (array). -
setSubscriber
Description copied from interface:StreamingOutputSets theStreamingOutput.Subscriber.- Specified by:
setSubscriberin interfaceStreamingOutput<K>
-
getSubscriber
Description copied from interface:StreamingOutputRetrieves theStreamingOutput.Subscriber.- Specified by:
getSubscriberin interfaceStreamingOutput<K>- Returns:
-