@ImplementationsShouldExtend(value=FsAbstractManager.class) public interface FsManager extends FsModel.Factory<FsDriver>, FsController.Factory<FsArchiveDriver<? extends FsArchiveEntry>>
Implementations should be thread-safe.
FsController
,
FsModel
Modifier and Type | Method and Description |
---|---|
<X extends Exception,V extends net.java.truecommons.shed.Visitor<? super FsController,X>> |
accept(net.java.truecommons.shed.Filter<? super FsController> filter,
V visitor)
Filters all managed file system controllers using the given
filter and accepts the given visitor to them. |
FsController |
controller(FsCompositeDriver driver,
FsMountPoint mountPoint)
Returns the thread-safe file system controller for the given mount point.
|
newModel
newController
<X extends Exception,V extends net.java.truecommons.shed.Visitor<? super FsController,X>> V accept(net.java.truecommons.shed.Filter<? super FsController> filter, V visitor) throws X extends Exception
filter
and accepts the given visitor
to them.filter
- the filter for the managed file system controllers.
Calls to its Filter.accept(Object)
method should terminate
quickly without an exception and must not have any side effects on
the given controllers!visitor
- the visitor of the filtered file system controllers.
Calls to its Visitor.visit(Object)
method may have side
effects on the given controllers, e.g. by calling
FsController.sync(BitField)
.visitor
X
- at the discretion of the given visitor.
Throwing this exception aborts the visiting.X extends Exception
FsController controller(FsCompositeDriver driver, FsMountPoint mountPoint)
synchronization
.driver
- the composite file system driver which shall get used to
create a new file system controller if required.mountPoint
- the mount point of the file system.Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.