Package io.lettuce.core.output
Class BooleanListOutput<K,V>
- java.lang.Object
-
- io.lettuce.core.output.CommandOutput<K,V,List<Boolean>>
-
- io.lettuce.core.output.BooleanListOutput<K,V>
-
- Type Parameters:
K
- Key type.V
- Value type.
- All Implemented Interfaces:
StreamingOutput<Boolean>
public class BooleanListOutput<K,V> extends CommandOutput<K,V,List<Boolean>> implements StreamingOutput<Boolean>
List
of boolean output.- Author:
- Will Glozer, 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 BooleanListOutput(RedisCodec<K,V> codec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamingOutput.Subscriber<Boolean>
getSubscriber()
Retrieves theStreamingOutput.Subscriber
.void
multi(int count)
Mark the beginning of a multi sequence (array).void
set(long integer)
Update the command output with a 64-bit signed integer.void
setSubscriber(StreamingOutput.Subscriber<Boolean> 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 Detail
-
BooleanListOutput
public BooleanListOutput(RedisCodec<K,V> codec)
-
-
Method Detail
-
set
public void set(long integer)
Description copied from class:CommandOutput
Update the command output with a 64-bit signed integer. ConcreteCommandOutput
implementations must override this method to decodenumber
(integer) response values.
-
multi
public void multi(int count)
Description copied from class:CommandOutput
Mark the beginning of a multi sequence (array).
-
setSubscriber
public void setSubscriber(StreamingOutput.Subscriber<Boolean> subscriber)
Description copied from interface:StreamingOutput
Sets theStreamingOutput.Subscriber
.- Specified by:
setSubscriber
in interfaceStreamingOutput<K>
-
getSubscriber
public StreamingOutput.Subscriber<Boolean> getSubscriber()
Description copied from interface:StreamingOutput
Retrieves theStreamingOutput.Subscriber
.- Specified by:
getSubscriber
in interfaceStreamingOutput<K>
- Returns:
-
-