@PublicAPIClass(maturity=EVOLVING) public abstract class TimelineServerBasedDetectionStrategy extends Object implements EarlyConflictDetectionStrategy
| Modifier and Type | Field and Description |
|---|---|
protected String |
basePath |
protected boolean |
checkCommitConflict |
protected String |
markerDir |
protected String |
markerName |
| Constructor and Description |
|---|
TimelineServerBasedDetectionStrategy(String basePath,
String markerDir,
String markerName,
Boolean checkCommitConflict) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
startAsyncDetection(Long initialDelayMs,
Long periodMs,
String markerDir,
String basePath,
Long maxAllowableHeartbeatIntervalInMs,
HoodieStorage storage,
Object markerHandler,
Set<HoodieInstant> completedCommits)
Starts the async conflict detection thread.
|
abstract void |
stop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdetectAndResolveConflictIfNecessary, hasMarkerConflict, resolveMarkerConflictprotected final String basePath
protected final String markerDir
protected final String markerName
protected final boolean checkCommitConflict
public abstract void startAsyncDetection(Long initialDelayMs, Long periodMs, String markerDir, String basePath, Long maxAllowableHeartbeatIntervalInMs, HoodieStorage storage, Object markerHandler, Set<HoodieInstant> completedCommits)
initialDelayMs - Initial delay in milliseconds.periodMs - Scheduling period in milliseconds.markerDir - Marker directory.basePath - Base path of the table.maxAllowableHeartbeatIntervalInMs - Heartbeat timeout.storage - HoodieStorage instance.markerHandler - Marker handler.completedCommits - Completed Hudi commits.public abstract void stop()
Copyright © 2024 The Apache Software Foundation. All rights reserved.