private final class FsDefaultManager.ScheduledModel extends FsDefaultModel
synchronization by "observing" its
touched property.
Extending its sub-class to register for updates to the touched
property is simpler, faster and requires a smaller memory footprint than
the alternative observer pattern.| Modifier and Type | Field and Description |
|---|---|
(package private) FsFederatingController |
controller |
| Constructor and Description |
|---|
FsDefaultManager.ScheduledModel(FsMountPoint mountPoint,
FsController<?> parent,
FsCompositeDriver driver) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
schedule(boolean mandatory) |
void |
setTouched(boolean touched)
Schedules the file system controller for synchronization according
to the given touch status.
|
getMountPoint, getParent, isTouchedfinal FsFederatingController controller
FsDefaultManager.ScheduledModel(FsMountPoint mountPoint, @CheckForNull FsController<?> parent, FsCompositeDriver driver)
public void setTouched(boolean touched)
setTouched in class FsDefaultModeltouched - the new value of this property.void schedule(boolean mandatory)
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.