Class 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 Detail

      • ReplaceTaskLock

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

      • getSupervisorTaskId

        public String getSupervisorTaskId()
      • getInterval

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

        public String getVersion()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object