Class ReplaceTaskLock

java.lang.Object
org.apache.druid.metadata.ReplaceTaskLock

public class ReplaceTaskLock extends Object
Details of a REPLACE lock held by a batch supervisor task.

Replace locks are always held by the supervisor task, i.e. ParallelIndexSupervisorTask in case of native batch ingestion and ControllerTask in case of MSQ ingestion.

  • Constructor Details

    • ReplaceTaskLock

      public ReplaceTaskLock(String supervisorTaskId, org.joda.time.Interval interval, String version)
  • Method Details

    • getSupervisorTaskId

      public String getSupervisorTaskId()
    • getInterval

      public org.joda.time.Interval getInterval()
    • getVersion

      public String getVersion()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object