|
TrueZIP Kernel 7.0-rc1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.schlichtherle.truezip.fs.FsManager
de.schlichtherle.truezip.fs.FsDecoratingManager<M>
M - The type of the file system model.@ThreadSafe public abstract class FsDecoratingManager<M extends FsManager>
An abstract decorator for a file system manager.
| Field Summary | |
|---|---|
protected M |
delegate
|
| Fields inherited from class de.schlichtherle.truezip.fs.FsManager |
|---|
UMOUNT |
| Constructor Summary | |
|---|---|
protected |
FsDecoratingManager(M manager)
Constructs a new decorating file system manager. |
| Method Summary | ||
|---|---|---|
FsController<?> |
getController(FsMountPoint mountPoint,
FsCompositeDriver driver)
Returns a thread-safe file system controller for the given mount point. |
|
int |
getSize()
Returns the number of federated file systems managed by this instance. |
|
Iterator<FsController<?>> |
iterator()
Returns an iterator for the controller of all federated file systems managed by this instance. |
|
|
sync(BitField<FsSyncOption> options,
ExceptionHandler<? super IOException,X> handler)
Commits all unsynchronized changes to the contents of all federated file systems managed by this instance to their respective parent file system. |
|
String |
toString()
Returns a string representation of this object for debugging and logging purposes. |
|
| Methods inherited from class de.schlichtherle.truezip.fs.FsManager |
|---|
equals, hashCode, sync |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final M extends FsManager delegate
| Constructor Detail |
|---|
protected FsDecoratingManager(@NonNull
M manager)
manager - the decorated file system manager.| Method Detail |
|---|
public FsController<?> getController(FsMountPoint mountPoint,
FsCompositeDriver driver)
FsManagersynchronization
operations.
getController in class FsManagermountPoint - the mount point of the file system.driver - the file system composite driver which will be used to
create a new file system controller if required.
public int getSize()
FsManager
getSize in class FsManagerpublic Iterator<FsController<?>> iterator()
FsManagerImportant: The iterated file system controllers must be ordered so that all file systems appear before any of their parent file systems.
iterator in interface Iterable<FsController<?>>iterator in class FsManager
public <X extends IOException> void sync(BitField<FsSyncOption> options,
ExceptionHandler<? super IOException,X> handler)
throws X extends IOException
FsManager
sync in class FsManagerX - the type of the IOException to throw at the
discretion of the exception handler.options - the synchronization options.handler - the exception handling strategy for dealing with one or
more input SyncExceptions which may trigger an X.
X extends IOExceptionpublic String toString()
toString in class FsManager
|
TrueZIP Kernel 7.0-rc1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||