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.
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 TypeMethodDescriptionvoidreleaseLock(org.joda.time.Interval interval) Releases the lock for the exact interval for a task.
-
Method Details
-
releaseLock
Releases the lock for the exact interval for a task.- Throws:
IOException
-