Interface TaskIntervalUnlocker

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TaskIntervalUnlocker
Used to release task locks after segments have been handed off, typically with long-running tasks to avoid holding locks for longer than necessary. This interface is used instead of TaskActionClient to prevent a cyclic dependency with druid-indexing-service module.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    releaseLock(org.joda.time.Interval interval)
    Releases the lock for the exact interval for a task.
  • Method Details

    • releaseLock

      void releaseLock(org.joda.time.Interval interval) throws IOException
      Releases the lock for the exact interval for a task.
      Throws:
      IOException