Package org.apache.druid.metadata
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 Summary
Constructors Constructor Description ReplaceTaskLock(String supervisorTaskId, org.joda.time.Interval interval, String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)org.joda.time.IntervalgetInterval()StringgetSupervisorTaskId()StringgetVersion()inthashCode()
-