Module lettuce.core

Class DoubleListOutput<K,​V>

java.lang.Object
io.lettuce.core.output.CommandOutput<K,​V,​List<Double>>
io.lettuce.core.output.DoubleListOutput<K,​V>
Type Parameters:
K - Key type.
V - Value type.

public class DoubleListOutput<K,​V>
extends CommandOutput<K,​V,​List<Double>>
List of Double output.
Since:
6.1
Author:
dengliming, Mark Paluch
  • Constructor Details

    • DoubleListOutput

      public DoubleListOutput​(RedisCodec<K,​V> codec)
  • Method Details

    • set

      public void set​(ByteBuffer bytes)
      Description copied from class: CommandOutput
      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,​List<Double>>
      Parameters:
      bytes - The command output, or null.
    • set

      public void set​(double number)
      Description copied from class: CommandOutput
      Update the command output with a floating-point number. Concrete CommandOutput implementations must override this method to decode double response values.
      Overrides:
      set in class CommandOutput<K,​V,​List<Double>>
      Parameters:
      number - The command output.
    • multi

      public void multi​(int count)
      Description copied from class: CommandOutput
      Mark the beginning of a multi sequence (array).
      Overrides:
      multi in class CommandOutput<K,​V,​List<Double>>
      Parameters:
      count - expected number of elements in this multi sequence.