Package org.jboss.vfs
Class VFS.Mount
java.lang.Object
org.jboss.vfs.VFS.Mount
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
VFS
The mount representation. This instance represents a binding between a position in the virtual filesystem and the
backing filesystem implementation; the same
FileSystem
may be mounted in more than one place, however only
one FileSystem
may be bound to a specific path at a time.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StackTraceElement[]
private final AtomicBoolean
private final FileSystem
private final VirtualFile
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected void
finalize()
(package private) FileSystem
(package private) VirtualFile
-
Field Details
-
fileSystem
-
mountPoint
-
allocationPoint
-
closed
-
-
Constructor Details
-
Mount
Mount(FileSystem fileSystem, VirtualFile mountPoint)
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
getFileSystem
FileSystem getFileSystem() -
getMountPoint
VirtualFile getMountPoint() -
finalize
- Overrides:
finalize
in classObject
- Throws:
IOException
-