Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4526561

File system change notification events should be supported

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.0, 5.0
    • core-libs
    • generic, x86
    • generic, windows_xp

      Name: nt126004 Date: 11/13/2001


      java version "1.4.0-beta2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta2-b77)
      Java HotSpot(TM) Client VM (build 1.4.0-beta2-b77, mixed mode)

      Windows, Linux w/ 2.4 kernels, FreeBSD and Irix support asynchronous,
      real time notification of file system events. This is much more efficient
      than polling which is the only option in Java right now.

      Two similiar such libraries for C are:

      Gnome VFS (discussed in mailing lists)
      SGI FAM/iMon -> http://oss.sgi.com/projects/fam/

      Both work or will work by reverting to polling for OS'es that don't support this
      mechanism. This would be a boon to any process that needs to monitor the file
      system (development tool GUIs and app servers are two good examples).
      (Review ID: 135422)
      ======================================================================
      Looks like Linux is moving towards using inotify (as of 2.6.13-rc3, apparently), meaning FAM is probably a dead end. Java should support inotify when running on Linux. It would be a pity if Java programmers could not write apps like

      http://beaglewiki.org/Main_Page

      with excellent desktop integration and responsiveness.

            alanb Alan Bateman
            nthompsosunw Nathanael Thompson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: