@ImplementationsShouldExtend(value=FsAbstractManager.class) public interface FsManager extends FsModel.Factory<FsDriver>, FsController.Factory<FsArchiveDriver<? extends FsArchiveEntry>>
Implementations should be thread-safe.
|Modifier and Type||Method and Description|
Filters all managed file system controllers using the given
Returns the thread-safe file system controller for the given mount point.
<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
filterand accepts the given
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
X- at the discretion of the given visitor. Throwing this exception aborts the visiting.
X extends Exception
FsController controller(FsCompositeDriver driver, FsMountPoint mountPoint)
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.