M
- the type of the mediator.@ThreadSafe public class InstrumentingController<M extends Mediator<M>> extends FsDecoratingController
FsController.Factory<Context>
Modifier and Type | Field and Description |
---|---|
protected M |
mediator |
controller
Constructor and Description |
---|
InstrumentingController(M mediator,
FsController controller) |
Modifier and Type | Method and Description |
---|---|
net.java.truecommons.cio.InputSocket<? extends net.java.truecommons.cio.Entry> |
input(net.java.truecommons.shed.BitField<FsAccessOption> options,
FsNodeName name)
Returns an input socket for reading the contents of the file system
node addressed by the given name from the file system.
|
net.java.truecommons.cio.OutputSocket<? extends net.java.truecommons.cio.Entry> |
output(net.java.truecommons.shed.BitField<FsAccessOption> options,
FsNodeName name,
net.java.truecommons.cio.Entry template)
Returns an output socket for writing the contents of the node addressed
by the given name to the file system.
|
checkAccess, getParent, make, node, setReadOnly, setTime, setTime, sync, toString, unlink
getModel, getMountPoint, isMounted, setMounted
public InstrumentingController(M mediator, FsController controller)
public net.java.truecommons.cio.InputSocket<? extends net.java.truecommons.cio.Entry> input(net.java.truecommons.shed.BitField<FsAccessOption> options, FsNodeName name)
FsController
input
in interface FsController
input
in class FsDecoratingController
options
- the options for accessing the file system node.name
- the name of the file system node.InputSocket
.public net.java.truecommons.cio.OutputSocket<? extends net.java.truecommons.cio.Entry> output(net.java.truecommons.shed.BitField<FsAccessOption> options, FsNodeName name, @CheckForNull net.java.truecommons.cio.Entry template)
FsController
output
in interface FsController
output
in class FsDecoratingController
options
- the options for accessing the file system node.
If FsAccessOption.CREATE_PARENTS
is set, any missing
parent directories shall get created with an undefined last
modification time.name
- the name of the file system node.template
- if not null
, then the file system node
at the end of the chain shall inherit as much properties from
this node as possible - with the exception of its name and type.OutputSocket
.Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.