zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ivmaykov <...@git.apache.org>
Subject [GitHub] zookeeper issue #680: ZOOKEEPER-3174: Quorum TLS - support reloading trust/k...
Date Tue, 27 Nov 2018 18:10:50 GMT
Github user ivmaykov commented on the issue:

    https://github.com/apache/zookeeper/pull/680
  
    @anmolnar I just stumbled across the FileMonitor class, which has similar functionality
to my FileChangeWatcher. The main difference is that it polls for changes and sleeps the thread
in between, rather than using WatchService. It also ignores mtime changes if the file contents
have not changed. Maybe I should use FileMonitor and remove the FileChangeWatcher class?


---

Mime
View raw message