Hi All,

I would like to start a discussion around IGNITE-2399.

Background: The typical use of IgniteSemaphore consists of acquiring
the semaphore, performing the task and releasing the semaphore. This
JIRA proposes a new method which will accept a callable, acquire the
semaphore, and return a future. Upon completion of the future, the
semaphore is released.

This API seems useful for an easy encapsulation of the described use
case and does not cause an internal flux since all the changes are
focused at the public API.

WIP PR for the same:

https://github.com/apache/ignite/pull/8820

Please share your thoughts and comments.

-- 
Regards,

Atri
Apache Concerted

Reply via email to