Package org.jboss.vfs
Class VFS.Mount
- java.lang.Object
-
- org.jboss.vfs.VFS.Mount
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- VFS
static final class VFS.Mount extends java.lang.Object implements java.io.Closeable
The mount representation. This instance represents a binding between a position in the virtual filesystem and the backing filesystem implementation; the sameFileSystem
may be mounted in more than one place, however only oneFileSystem
may be bound to a specific path at a time.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StackTraceElement[]
allocationPoint
private java.util.concurrent.atomic.AtomicBoolean
closed
private FileSystem
fileSystem
private VirtualFile
mountPoint
-
Constructor Summary
Constructors Constructor Description Mount(FileSystem fileSystem, VirtualFile mountPoint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected void
finalize()
(package private) FileSystem
getFileSystem()
(package private) VirtualFile
getMountPoint()
-
-
-
Field Detail
-
fileSystem
private final FileSystem fileSystem
-
mountPoint
private final VirtualFile mountPoint
-
allocationPoint
private final java.lang.StackTraceElement[] allocationPoint
-
closed
private final java.util.concurrent.atomic.AtomicBoolean closed
-
-
Constructor Detail
-
Mount
Mount(FileSystem fileSystem, VirtualFile mountPoint)
-
-
Method Detail
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
getFileSystem
FileSystem getFileSystem()
-
getMountPoint
VirtualFile getMountPoint()
-
finalize
protected void finalize() throws java.io.IOException
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.io.IOException
-
-