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

File system change notification events should be supported

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 1.4.0, 5.0
    • Fix Version/s: None
    • Component/s: core-libs
    • Subcomponent:
    • CPU:
      generic, x86
    • OS:
      generic, windows_xp

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: