public final class FsSync extends Object
Constructor and Description |
---|
FsSync() |
Modifier and Type | Method and Description |
---|---|
FsSync |
filter(net.java.truecommons.shed.Filter<? super FsController> filter) |
FsSync |
manager(FsManager manager) |
FsSync |
options(net.java.truecommons.shed.BitField<FsSyncOption> options) |
void |
run()
Invokes
sync() on all managed file system
controllers which are accepted by the configured file system controller
filter. |
public FsSync filter(net.java.truecommons.shed.Filter<? super FsController> filter)
public FsSync options(net.java.truecommons.shed.BitField<FsSyncOption> options)
public void run() throws FsSyncException
sync()
on all managed file system
controllers which are accepted by the configured file system controller
filter.
The implementation uses an FsSyncExceptionBuilder
while iterating
over all managed file system controllers in order to ensure that all
controllers get synced, even if a controller fails with an
FsSyncException
.
FsSyncWarningException
- if only warning conditions
apply.
This implies that the respective file system controller has been
sync()
ed with constraints, e.g. if an
open archive entry stream or channel gets forcibly closed.FsSyncException
- if any error conditions apply.Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.