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.CloseableThe mount representation. This instance represents a binding between a position in the virtual filesystem and the backing filesystem implementation; the sameFileSystemmay be mounted in more than one place, however only oneFileSystemmay be bound to a specific path at a time.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StackTraceElement[]allocationPointprivate java.util.concurrent.atomic.AtomicBooleanclosedprivate FileSystemfileSystemprivate VirtualFilemountPoint
-
Constructor Summary
Constructors Constructor Description Mount(FileSystem fileSystem, VirtualFile mountPoint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected voidfinalize()(package private) FileSystemgetFileSystem()(package private) VirtualFilegetMountPoint()
-
-
-
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:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
getFileSystem
FileSystem getFileSystem()
-
getMountPoint
VirtualFile getMountPoint()
-
finalize
protected void finalize() throws java.io.IOException- Overrides:
finalizein classjava.lang.Object- Throws:
java.io.IOException
-
-