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, syncprotected FsDecoratingManager(M delegate)
delegate - the file system manager to decorate.public FsController<?> getController(FsMountPoint mountPoint, FsCompositeDriver driver)
FsManagersynchronization.getController in class FsManagermountPoint - 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()
FsManagerpublic Iterator<FsController<?>> iterator()
FsManageriterator in interface Iterable<FsController<?>>iterator in class FsManagerCopyright © 2005-2013 Schlichtherle IT Services. All Rights Reserved.