You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2021/02/23 12:06:11 UTC

[GitHub] [ignite] atris commented on pull request #8820: IGNITE-2399: Implement acquireAndExecute Utility Method

atris commented on pull request #8820:
URL: https://github.com/apache/ignite/pull/8820#issuecomment-784154029


   > Hello, Why do we need this method in the first place?
   > Currently, this PR adds some internal method without usages.
   > 
   > Those methods should be added only when they really required.
   
   As noted in the ticket, this is an utility method that 1. Captures a very common usage pattern of semaphores and 2. Does not pollute the upper layer APIs, hence causing no impact to any component of the system with no chances of functional/performance regressions.
   
   The opening of thr ticket itself, IMO, points to a usecase :)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org