Package com.ocient.util
Interface QueuePermit
- All Known Implementing Classes:
Iterators.LazyFanInPriorityQueue
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface representing a permit for a queue operation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidReleases the permit associated with a queue operation.
-
Method Details
-
releasePermit
void releasePermit()Releases the permit associated with a queue operation.Implementations of this method should release the permit, allowing other operations to proceed. The exact behavior of releasing a permit may vary depending on the specific queue or synchronization mechanism in use.
-