Interface ScoredValueStreamingChannel<V>

  • Type Parameters:
    V - Value type.
    All Superinterfaces:
    StreamingChannel
    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 ScoredValueStreamingChannel<V>
    extends StreamingChannel
    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 Detail

      • onValue

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