Class HandleMonitor

  • public class HandleMonitor
    extends Object
    This Class implements a very simple open handle monitor for the local file system. This is usefull, if the list of open handles, referenced by an open FileInputStream() should be tracked. This can cause problems on windows filesystems where open files cannot be deleted.
    • Constructor Detail

      • HandleMonitor

        public HandleMonitor()
    • Method Detail

      • isOpen

        public boolean isOpen​(File file)
        Checks, if the file is open
        file -
      • dump

        public void dump()
        Dumps the contents of this monitor
      • dump

        public void dump​(File file)
        Dumps the information for a file
        file -