Type Parameters:
K - Key type.
V - Value type.
public class ValueSetOutput<K,V>
extends CommandOutput <K,V,Set <V>>
Author:
Will Glozer
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method
Description
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.
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
Method Details
set
Update the command output with a sequence of bytes, or
null. Concrete
CommandOutput implementations must
override this method to decode
bulk/bytes response values.
Overrides:
set in class CommandOutput <K ,V ,Set <V >>
Parameters:
bytes - The command output, or null.
multi
public void multi (int count)
Mark the beginning of a multi sequence (array).
Overrides:
multi in class CommandOutput <K ,V ,Set <V >>
Parameters:
count - expected number of elements in this multi sequence.