@ThreadSafe public abstract class FsDecoratingModel extends FsAbstractModel
FsModel.Factory<Context>| Modifier and Type | Field and Description |
|---|---|
protected FsModel |
model
The decorated file system model.
|
| Modifier | Constructor and Description |
|---|---|
protected |
FsDecoratingModel(FsModel model) |
| Modifier and Type | Method and Description |
|---|---|
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 touched)
Sets the value of the property
mounted. |
String |
toString()
Returns a string representation of this object for debugging and logging
purposes.
|
getMountPoint, getParentprotected final FsModel model
protected FsDecoratingModel(FsModel model)
public boolean isMounted()
FsModeltrue 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.public void setMounted(boolean touched)
FsModelmounted.
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.
touched - the new value of this property.public String toString()
toString in class FsAbstractModelCopyright © 2005–2018 Schlichtherle IT Services. All rights reserved.