public class AsyncTimelineServerBasedDetectionStrategy extends TimelineServerBasedDetectionStrategy
basePath, checkCommitConflict, markerDir, markerName| Constructor and Description |
|---|
AsyncTimelineServerBasedDetectionStrategy(String basePath,
String markerDir,
String markerName,
Boolean checkCommitConflict) |
| Modifier and Type | Method and Description |
|---|---|
void |
detectAndResolveConflictIfNecessary() |
boolean |
hasMarkerConflict() |
void |
resolveMarkerConflict(String basePath,
String markerDir,
String markerName) |
void |
startAsyncDetection(Long initialDelayMs,
Long periodMs,
String markerDir,
String basePath,
Long maxAllowableHeartbeatIntervalInMs,
HoodieStorage storage,
Object markerHandler,
Set<HoodieInstant> completedCommits) |
void |
stop() |
public boolean hasMarkerConflict()
public void resolveMarkerConflict(String basePath, String markerDir, String markerName)
public void startAsyncDetection(Long initialDelayMs, Long periodMs, String markerDir, String basePath, Long maxAllowableHeartbeatIntervalInMs, HoodieStorage storage, Object markerHandler, Set<HoodieInstant> completedCommits)
startAsyncDetection in class TimelineServerBasedDetectionStrategypublic void detectAndResolveConflictIfNecessary()
throws HoodieEarlyConflictDetectionException
public void stop()
stop in class TimelineServerBasedDetectionStrategyCopyright © 2024 The Apache Software Foundation. All rights reserved.