Module lettuce.core

Class ValueStreamingOutput<K,​V>

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

public class ValueStreamingOutput<K,​V>
extends CommandOutput<K,​V,​Long>
Streaming-Output of Values. Returns the count of all values (including null).
Author:
Mark Paluch
  • Constructor Details

  • 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,​Long>
      Parameters:
      bytes - The command output, or null.