public interface ExchangeSink
Sink for exchanging data
See Also:
  • Method Details

    • addPage

      void addPage(Page page)
      adds a new page to this sink
    • finish

      void finish()
      called once all pages have been added (see addPage(Page)).
    • isFinished

      boolean isFinished()
      Whether the sink has received all pages
    • addCompletionListener

      void addCompletionListener(ActionListener<Void> listener)
      Adds a listener that will be notified when this exchange sink is finished.
    • waitForWriting

      IsBlockedResult waitForWriting()
      Whether the sink is blocked on adding more pages