jira-importer commented on issue #535:
URL: https://github.com/apache/curator/issues/535#issuecomment-2604692388

   <i><a 
href="https://issues.apache.org/jira/secure/ViewProfile.jspa?name=iocanel";>iocanel</a>:</i>
   <p>I had 2 kind of issues on the LockInternals:<br/>
   i) I was unsure on when I should remove the watcher from the global map.<br/>
   ii) I was unsure if its possibly that a watcher for the same path can be 
reused.</p>
   
   <p>For <img class="emoticon" 
src="https://issues.apache.org/jira/images/icons/emoticons/information.png"; 
height="16" width="16" align="absmiddle" alt="" border="0"/> I thought that the 
most fitting place would be to remove the watcher, when it fired (and maybe 
when we release the lock?).<br/>
   For (ii) I used the internal map. I am totally unsure about that.</p>
   
   <p>So please share your thoughts/ideas about it.</p>
   
   <p>Regarding the WatcherKey, do u see it as a way of wrapping 
Watcher/CuratorWatcher objects or you think that the recipes should directly 
use anonymous inner implementations of the WatcherKey?</p>
   


-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@curator.apache.org

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

Reply via email to