Interface ResourceCleaner

  • All Known Implementing Classes:
    DefaultResourceCleaner
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ResourceCleaner
    ResourceCleaner executes instances on the given JobID.
    • Method Detail

      • cleanupAsync

        CompletableFuture<Void> cleanupAsync​(org.apache.flink.api.common.JobID jobId)
        Cleans job-related data from resources asynchronously.
        Parameters:
        jobId - The JobID referring to the job for which the data shall be cleaned up.
        Returns:
        the cleanup result future.