de.schlichtherle.truezip.fs
Class FsDefaultManager.ScheduledModel
java.lang.Object
de.schlichtherle.truezip.fs.FsModel
de.schlichtherle.truezip.fs.FsDefaultModel
de.schlichtherle.truezip.fs.FsDefaultManager.ScheduledModel
- Enclosing class:
- FsDefaultManager
private final class FsDefaultManager.ScheduledModel
- extends FsDefaultModel
A model which schedules its controller for
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.
|
Method Summary |
(package private) void |
schedule(boolean unconditional)
|
void |
setTouched(boolean touched)
Schedules the file system controller for synchronization according
to the given touch status. |
controller
final FsFederatingController controller
FsDefaultManager.ScheduledModel
FsDefaultManager.ScheduledModel(FsMountPoint mountPoint,
@CheckForNull
FsController<?> parent,
FsCompositeDriver driver)
setTouched
public void setTouched(boolean touched)
- Schedules the file system controller for synchronization according
to the given touch status.
- Overrides:
setTouched in class FsDefaultModel
- Parameters:
touched - the new value of this property.
schedule
void schedule(boolean unconditional)
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.