@ImplementationsShouldExtend(value=FsAbstractModel.class) public interface FsModel
Implementations should be safe for multi-threaded access.
FsController
,
FsManager
Modifier and Type | Interface and Description |
---|---|
static interface |
FsModel.Factory<Context>
A factory for file system models.
|
Modifier and Type | Method and Description |
---|---|
FsMountPoint |
getMountPoint()
Returns the mount point of the file system.
|
FsModel |
getParent()
Returns the parent file system model or
null if and only if the
file system is not federated, i.e. |
boolean |
isMounted()
Returns
true if and only if some state associated with the
federated file system has been modified so that the
corresponding FsController must not get discarded until
the next call to sync . |
void |
setMounted(boolean mounted)
Sets the value of the property
mounted . |
FsMountPoint getMountPoint()
@CheckForNull FsModel getParent()
null
if and only if the
file system is not federated, i.e. if it's not a member of a parent file
system.boolean isMounted()
true
if and only if some state associated with the
federated file system has been modified so that the
corresponding FsController
must not get discarded until
the next call to sync
.
An implementation may always return false
if the associated
file system controller is stateless.
true
if and only if some state associated with the
federated file system has been modified so that the
corresponding FsController
must not get discarded until
the next sync
.void setMounted(boolean mounted)
mounted
.
Only file system controllers should call this method in order to
register themselves for a call their FsController.sync(net.java.truecommons.shed.BitField<net.java.truevfs.kernel.spec.FsSyncOption>)
method.
An implementation may ignore calls to this method if the associated file system controller is stateless.
mounted
- the new value of this property.Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.