@ThreadSafe public class CheckpointsCleaner extends Object implements Serializable, AutoCloseableAsync
Constructor and Description |
---|
CheckpointsCleaner() |
Modifier and Type | Method and Description |
---|---|
void |
cleanCheckpoint(Checkpoint checkpoint,
boolean shouldDiscard,
Runnable postCleanAction,
Executor executor) |
void |
cleanCheckpointOnFailedStoring(CompletedCheckpoint completedCheckpoint,
Executor executor) |
CompletableFuture<Void> |
closeAsync()
Trigger the closing of the resource and return the corresponding close future.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public void cleanCheckpoint(Checkpoint checkpoint, boolean shouldDiscard, Runnable postCleanAction, Executor executor)
public void cleanCheckpointOnFailedStoring(CompletedCheckpoint completedCheckpoint, Executor executor)
public CompletableFuture<Void> closeAsync()
AutoCloseableAsync
closeAsync
in interface AutoCloseableAsync
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.