You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Michael Vorburger (JIRA)" <ji...@apache.org> on 2015/04/12 17:52:12 UTC
[jira] [Commented] (VFS-537) use WatchService when it is available
[ https://issues.apache.org/jira/browse/VFS-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14491540#comment-14491540 ]
Michael Vorburger commented on VFS-537:
---------------------------------------
I just published something similar, see http://blog2.vorburger.ch/2015/04/java-7-watchservice-based.html; DirectoryWatcher etc. src currently part of https://github.com/vorburger/HoTea - if this is of any interest to Apache Commons, feel free to use it..
> use WatchService when it is available
> -------------------------------------
>
> Key: VFS-537
> URL: https://issues.apache.org/jira/browse/VFS-537
> Project: Commons VFS
> Issue Type: Wish
> Reporter: Sam Halliday
>
> I'm sure you're aware of the WatchService in JDK7.
> It would be utterly amazing if you could detect at runtime that the code is running on Java 7 and then use the WatchService as the backend for DefaultFileMonitor.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)