You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/06/15 17:32:00 UTC

[GitHub] [shardingsphere] tswstarplanet opened a new issue #6057: Add an unwatch method to CenterRepository interface

tswstarplanet opened a new issue #6057:
URL: https://github.com/apache/shardingsphere/issues/6057


   CenterRepository has a watch method, but doesn't have an unwatch method. I think we can add a method like
   ```java
       /**
        * Unwatch key or path of the config server.
        *
        * @param key key of data
        */
       void watch(String key);
   ```
   This method can cancel the watch of the specified key. I think it can be useful.


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



[GitHub] [shardingsphere] tswstarplanet edited a comment on issue #6057: Add an unwatch method to CenterRepository interface

Posted by GitBox <gi...@apache.org>.
tswstarplanet edited a comment on issue #6057:
URL: https://github.com/apache/shardingsphere/issues/6057#issuecomment-644805971


   Use it to cancel the watch to a key and release related resources.


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



[GitHub] [shardingsphere] terrymanu commented on issue #6057: Add an unwatch method to CenterRepository interface

Posted by GitBox <gi...@apache.org>.
terrymanu commented on issue #6057:
URL: https://github.com/apache/shardingsphere/issues/6057#issuecomment-644501497


   What is the usage of unwatch?


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



[GitHub] [shardingsphere] terrymanu commented on issue #6057: Add an unwatch method to CenterRepository interface

Posted by GitBox <gi...@apache.org>.
terrymanu commented on issue #6057:
URL: https://github.com/apache/shardingsphere/issues/6057#issuecomment-645328000


   When the program need to cancel the watch to a key and release related resources?
   If resources released, does the program run correctly?


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



[GitHub] [shardingsphere] terrymanu commented on issue #6057: Add an unwatch method to CenterRepository interface

Posted by GitBox <gi...@apache.org>.
terrymanu commented on issue #6057:
URL: https://github.com/apache/shardingsphere/issues/6057#issuecomment-647513131


   Will close soon if no response anymore


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



[GitHub] [shardingsphere] terrymanu closed issue #6057: Add an unwatch method to CenterRepository interface

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #6057:
URL: https://github.com/apache/shardingsphere/issues/6057


   


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



[GitHub] [shardingsphere] tswstarplanet commented on issue #6057: Add an unwatch method to CenterRepository interface

Posted by GitBox <gi...@apache.org>.
tswstarplanet commented on issue #6057:
URL: https://github.com/apache/shardingsphere/issues/6057#issuecomment-644805971


   Use it to cancel the watch to key.


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



[GitHub] [shardingsphere] terrymanu commented on issue #6057: Add an unwatch method to CenterRepository interface

Posted by GitBox <gi...@apache.org>.
terrymanu commented on issue #6057:
URL: https://github.com/apache/shardingsphere/issues/6057#issuecomment-650009426


   Closed because of no response anymore


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