Class KillSupervisors

java.lang.Object
org.apache.druid.server.coordinator.duty.MetadataCleanupDuty
org.apache.druid.server.coordinator.duty.KillSupervisors
All Implemented Interfaces:
CoordinatorDuty

public class KillSupervisors extends MetadataCleanupDuty
Cleans up terminated supervisors from the supervisors table in metadata storage.
  • Constructor Details

  • Method Details

    • cleanupEntriesCreatedBefore

      protected int cleanupEntriesCreatedBefore(org.joda.time.DateTime minCreatedTime)
      Description copied from class: MetadataCleanupDuty
      Cleans up metadata entries created before the minCreatedTime.

      This method is not invoked if the cleanupPeriod has not elapsed since the MetadataCleanupDuty.lastCleanupTime.

      Specified by:
      cleanupEntriesCreatedBefore in class MetadataCleanupDuty
      Returns:
      Number of deleted metadata entries