public interface CheckpointPlanner
Modifier and Type | Interface and Description |
---|---|
static class |
CheckpointPlanner.Factory
Factory for
CheckpointPlanner . |
Modifier and Type | Method and Description |
---|---|
CheckpointPlan |
generatePlan(LineageStoreView lineageStoreView,
FileSystemMasterView fileSystemMasterView)
Generates a plan to decide what lineages to checkpoint.
|
CheckpointPlan generatePlan(LineageStoreView lineageStoreView, FileSystemMasterView fileSystemMasterView)
This method returns null if the planner fails to propose a feasible plan to find the lineages to checkpoint. If the checkpoint plan has no lineages, it indicates that the planner has no actions to take and the requirement is already met.
lineageStoreView
- a readonly view of the lineage storefileSystemMasterView
- a readonly view of the file system masterCopyright © 2023. All Rights Reserved.