@Immutable public class InstrumentingCompositeDriver extends Object implements FsCompositeDriver
Modifier and Type | Field and Description |
---|---|
protected FsCompositeDriver |
delegate |
protected InstrumentingDirector |
director |
Constructor and Description |
---|
InstrumentingCompositeDriver(FsCompositeDriver driver,
InstrumentingDirector director) |
Modifier and Type | Method and Description |
---|---|
FsController<?> |
newController(FsModel model,
FsController<?> parent)
Returns a new thread-safe file system controller for the mount point of
the given file system model and parent file system controller.
|
protected final FsCompositeDriver delegate
protected final InstrumentingDirector director
public InstrumentingCompositeDriver(FsCompositeDriver driver, InstrumentingDirector director)
public FsController<?> newController(FsModel model, FsController<?> parent)
FsCompositeDriver
file system driver
which is looked up by querying the
scheme of the mount point of the given file system model with the
expression model.getMountPoint().getScheme()
.
When called, you may safely assume the following precondition:
assert null == model.getParent()
? null == parent
: model.getParent().equals(parent.getModel())
This preconditionnewController
in interface FsCompositeDriver
model
- the file system model.parent
- the nullable parent file system controller.FsDriver.newController(de.schlichtherle.truezip.fs.FsModel, de.schlichtherle.truezip.fs.FsController<?>)
Copyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.