Module lettuce.core

Interface ValueStreamingChannel<V>

Type Parameters:
V - Value type.
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface ValueStreamingChannel<V>
Streaming API for multiple Keys. You can implement this interface in order to receive a call to onValue on every value.
Since:
3.0
Author:
Mark Paluch
  • Method Summary

    Modifier and Type Method Description
    void onValue​(V value)
    Called on every incoming value.
  • Method Details

    • onValue

      void onValue​(V value)
      Called on every incoming value.
      Parameters:
      value - the value