M
- the type of the decorated file system manager.@ThreadSafe public abstract class FsDecoratingManager<M extends FsManager> extends FsManager
Modifier and Type | Field and Description |
---|---|
protected M |
delegate
The decorated file system manager.
|
Modifier | Constructor and Description |
---|---|
protected |
FsDecoratingManager(M delegate)
Constructs a new decorating file system manager.
|
Modifier and Type | Method and Description |
---|---|
FsController<?> |
getController(FsMountPoint mountPoint,
FsCompositeDriver driver)
Returns the thread-safe file system controller for the given mount point.
|
int |
getSize()
Returns the number of managed file system controllers.
|
Iterator<FsController<?>> |
iterator()
Returns an ordered iterator for the managed file system controllers.
|
String |
toString()
Returns a string representation of this object for debugging and logging
purposes.
|
equals, hashCode, newController, sync
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
protected FsDecoratingManager(M delegate)
delegate
- the file system manager to decorate.public FsController<?> getController(FsMountPoint mountPoint, FsCompositeDriver driver)
FsManager
synchronization
.getController
in class FsManager
mountPoint
- the mount point of the file system.driver
- the composite file system driver which shall get used to
create a new file system controller if required.public int getSize()
FsManager
public Iterator<FsController<?>> iterator()
FsManager
iterator
in interface Iterable<FsController<?>>
iterator
in class FsManager
Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.