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 givenJobID
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletableFuture<Void>
cleanupAsync(org.apache.flink.api.common.JobID jobId)
Cleans job-related data from resources asynchronously.
-
-
-
Method Detail
-
cleanupAsync
CompletableFuture<Void> cleanupAsync(org.apache.flink.api.common.JobID jobId)
Cleans job-related data from resources asynchronously.- Parameters:
jobId
- TheJobID
referring to the job for which the data shall be cleaned up.- Returns:
- the cleanup result future.
-
-