Class DirectExchangeClient

java.lang.Object
io.trino.operator.DirectExchangeClient
All Implemented Interfaces:
Closeable, AutoCloseable

@ThreadSafe public class DirectExchangeClient extends Object implements Closeable
  • Constructor Details

  • Method Details

    • getStatus

      public DirectExchangeClientStatus getStatus()
    • addLocation

      public void addLocation(TaskId taskId, URI location)
    • noMoreLocations

      public void noMoreLocations()
    • pages

      public WorkProcessor<io.airlift.slice.Slice> pages()
    • pollPage

      @Nullable public io.airlift.slice.Slice pollPage()
    • isFinished

      public boolean isFinished()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
    • isBlocked

      public com.google.common.util.concurrent.ListenableFuture<Void> isBlocked()