Bug 112980 - [EFS] Notification API
Summary: [EFS] Notification API
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: api
Depends on:
Blocks:
 
Reported: 2005-10-18 14:26 EDT by John Arthorne CLA
Modified: 2019-11-14 03:43 EST (History)
14 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2005-10-18 14:26:29 EDT
EFS currently has no API for file system implementations to communicate back
changes that have occurred in the underlying file system.  Win32 provides API
like this, and inotify provides similar support on Linux.  A common callback API
in EFS could hook into these native capabilities where possible, and implement a
polling based default implementation for other file systems.
Comment 1 Martin Oberhuber CLA 2008-04-02 06:12:47 EDT
There has been a little bit of discussion on listeners for EFS already, on bug 106176 comment 21. That discussion includes references to Apache Commons VFS which does have listener support.

See also bug 106176 comment 27 which references a Java API for inotify, called http://l3x.net/imwiki/Wiki.jsp?page=JFileWatch

Bug 108697 explicitly requests inotify support in Eclipse, see also bug 106176 comment 28. 

IResourceChangeListener seems related to this on a higher (resource) level: http://help.eclipse.org/help33/topic/org.eclipse.platform.doc.isv/guide/resAdv_events.htm

inotify was also mentioned in the context of discussing symbolic link support for EFS, see bug 44107 comment 13 and the replies to it. Eclipse MonitorManager class was mentioned in this thread as the class that's currently caring for automatic Workspace Referesh (by polling right now, but hopefully using some notification mechanism in the future).
Comment 2 Martin Oberhuber CLA 2008-04-02 06:29:04 EDT
Actually, refreshProviders is the extension point that currently supports registering file system notification monitors related to MonitorManager:
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/resAdv_refresh.htm
Comment 3 Lars Vogel CLA 2019-11-14 03:43:15 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.