@ThreadSafe final class FsStatisticsController extends FsDecoratingController<FsModel,FsController<?>>
This class is thread-safe iff the decorated file system controller is thread-safe.
| Modifier and Type | Class and Description |
|---|---|
private class |
FsStatisticsController.Input |
private class |
FsStatisticsController.Output |
| Modifier and Type | Field and Description |
|---|---|
private FsStatisticsManager |
manager |
delegate| Constructor and Description |
|---|
FsStatisticsController(FsController<?> controller,
FsStatisticsManager manager)
Constructs a new statistics file system controller.
|
| Modifier and Type | Method and Description |
|---|---|
InputSocket<?> |
getInputSocket(FsEntryName name,
BitField<FsInputOption> options)
Returns an input socket for reading the contents of the file system
entry addressed by the given name from the file system.
|
OutputSocket<?> |
getOutputSocket(FsEntryName name,
BitField<FsOutputOption> options,
Entry template)
Returns an output socket for writing the contents of the entry addressed
by the given name to the file system.
|
getClosedIcon, getEntry, getModel, getOpenIcon, getParent, isReadable, isReadOnly, isWritable, mknod, setReadOnly, setTime, sync, toString, unlinkequals, hashCode, syncprivate final FsStatisticsManager manager
FsStatisticsController(@NonNull
FsController<?> controller,
@NonNull
FsStatisticsManager manager)
controller - the decorated file system controller.manager - the statistics file system manager.public InputSocket<?> getInputSocket(FsEntryName name, BitField<FsInputOption> options)
FsControllergetInputSocket in class FsDecoratingController<FsModel,FsController<?>>name - the file system entry name.options - the input options.InputSocket.public OutputSocket<?> getOutputSocket(FsEntryName name, BitField<FsOutputOption> options, Entry template)
FsControllertemplate is not null, then the output entry shall
have as many of its properties copied as reasonable, e.g. the last
modification time.getOutputSocket in class FsDecoratingController<FsModel,FsController<?>>name - a file system entry name.options - a bit field of output options.template - a nullable template for the properties of the output
entry.OutputSocket.Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.