Class SpillChannelManager

java.lang.Object
org.apache.flink.table.runtime.operators.sort.SpillChannelManager
All Implemented Interfaces:
Closeable, AutoCloseable

public class SpillChannelManager extends Object implements Closeable
Channel manager to manage the life cycle of spill channels.
  • Constructor Details

    • SpillChannelManager

      public SpillChannelManager()
  • Method Details

    • addChannel

      public void addChannel(org.apache.flink.runtime.io.disk.iomanager.FileIOChannel.ID id)
      Add a new File channel.
    • addOpenChannels

      public void addOpenChannels(List<org.apache.flink.runtime.io.disk.iomanager.FileIOChannel> toOpen)
      Open File channels.
    • removeChannel

      public void removeChannel(org.apache.flink.runtime.io.disk.iomanager.FileIOChannel.ID id)
    • close

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