Interface CoordinatorDuty
-
- All Known Subinterfaces:
CoordinatorCustomDuty
- All Known Implementing Classes:
BalanceSegments,CollectSegmentAndServerStats,CompactSegments,KillAuditLog,KillCompactionConfig,KillDatasourceMetadata,KillRules,KillStalePendingSegments,KillSupervisors,KillSupervisorsCustomDuty,KillUnusedSegments,MarkEternityTombstonesAsUnused,MarkOvershadowedSegmentsAsUnused,MetadataCleanupDuty,PrepareBalancerAndLoadQueues,RunRules,UnloadUnusedSegments
public interface CoordinatorDuty
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DruidCoordinatorRuntimeParamsrun(DruidCoordinatorRuntimeParams params)Implementations of this method run various activities performed by the coordinator.
-
-
-
Method Detail
-
run
@Nullable DruidCoordinatorRuntimeParams run(DruidCoordinatorRuntimeParams params)
Implementations of this method run various activities performed by the coordinator. Input params can be used and modified. The returned DruidCoordinatorRuntimeParams is passed to the next duty.- Returns:
- same as input or a modified value to be used by next duty. Null return
values will prevent subsequent CoordinatorDuty objects (see the order in the lists passed into the constructor of
DruidCoordinator.DutiesRunnable) from running until the next cycle.
-
-