Class RemoveSplitsTask<SplitT extends org.apache.flink.api.connector.source.SourceSplit>

  • All Implemented Interfaces:
    SplitFetcherTask

    @Internal
    public class RemoveSplitsTask<SplitT extends org.apache.flink.api.connector.source.SourceSplit>
    extends Object
    implements SplitFetcherTask
    The task to finish reading some splits.
    • Method Detail

      • run

        public boolean run()
        Description copied from interface: SplitFetcherTask
        Run the logic. This method allows throwing an interrupted exception on wakeup, but the implementation does not have to. It is preferred to finish the work elegantly and return a boolean to indicate whether all the jobs have been done or more invocation is needed.
        Specified by:
        run in interface SplitFetcherTask
        Returns:
        whether the runnable has successfully finished running.