Class HandleMonitor
java.lang.Object
org.apache.jackrabbit.core.fs.local.HandleMonitor
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
HandleMonitor
public HandleMonitor()
-
-
Method Details
-
open
Opens a file and returns an InputStream- Parameters:
file-- Returns:
- Throws:
FileNotFoundException
-
isOpen
Checks, if the file is open- Parameters:
file-- Returns:
-
dump
public void dump()Dumps the contents of this monitor -
dump
Dumps the information for a file- Parameters:
file-
-