M - the type of the decorated file system model.@ThreadSafe public abstract class FsDecoratingModel<M extends FsModel> extends FsModel
| Modifier and Type | Field and Description |
|---|---|
protected M |
delegate
The decorated file system model.
|
| Modifier | Constructor and Description |
|---|---|
protected |
FsDecoratingModel(M delegate)
Constructs a new decorating file system 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.
|
equals, getMountPoint, getParent, hashCodeprotected FsDecoratingModel(M delegate)
delegate - the file system model to decorate.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.
isMounted in class 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 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(de.schlichtherle.truezip.util.BitField<de.schlichtherle.truezip.fs.FsSyncOption>) method.
An implementation may ignore calls to this method if the associated file system controller is stateless.
setMounted in class FsModeltouched - the new value of this property.Copyright © 2005-2013 Schlichtherle IT Services. All Rights Reserved.