Module lettuce.core

Class StreamingOutput.Subscriber<T>

java.lang.Object
io.lettuce.core.output.StreamingOutput.Subscriber<T>
Type Parameters:
T -
Direct Known Subclasses:
ListSubscriber
Enclosing interface:
StreamingOutput<T>

public abstract static class StreamingOutput.Subscriber<T>
extends Object
Subscriber to a StreamingOutput.
  • Constructor Details

    • Subscriber

      public Subscriber()
  • Method Details

    • onNext

      public abstract void onNext​(T t)
      Data notification sent by the StreamingOutput.
      Parameters:
      t - element
    • onNext

      public void onNext​(Collection<T> outputTarget, T t)
      Data notification sent by the StreamingOutput.
      Parameters:
      outputTarget - target
      t - element