| Package | Description |
|---|---|
| de.schlichtherle.truezip.fs |
Provides access to (possibly federated virtual) file systems.
|
| Modifier and Type | Field and Description |
|---|---|
static BitField<FsSyncOption> |
FsSyncOptions.NONE
A bit field with no synchronization options set.
|
static BitField<FsSyncOption> |
FsSyncOptions.RESET
Aborts all pending changes for the federated file system, clears the
selective cache without flushing it and makes the file system controller
eligible for garbage collection unless any strong references are held by
the client application.
|
static BitField<FsSyncOption> |
FsSyncOptions.SYNC
Waits for all other threads to close their I/O resources (i.e. streams,
channels etc) for any entries of the file system, flushes its selective
entry cache without clearing it and commits all changes to its parent
file system (if any).
|
static BitField<FsSyncOption> |
FsSyncOptions.UMOUNT
Forcibly closes all I/O resources (i.e. streams, channels etc) for any
entries of the file system, flushes and clears its selective entry cache,
commits all changes to its parent file system (if any) and makes its
controller eligible for garbage collection unless any strong references
are held by the client application.
|
| Modifier and Type | Method and Description |
|---|---|
static FsSyncOption |
FsSyncOption.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FsSyncOption[] |
FsSyncOption.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static BitField<FsSyncOption> |
FsSyncOptions.of(FsSyncOption... options)
Converts the given array to a bit field of synchronization options.
|
| Modifier and Type | Method and Description |
|---|---|
static BitField<FsSyncOption> |
FsSyncOptions.of(FsSyncOption... options)
Converts the given array to a bit field of synchronization options.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FsManager.sync(BitField<FsSyncOption> options)
Calls
FsController.sync(BitField) on all managed file system
controllers. |
void |
FsDefaultManager.sync(BitField<FsSyncOption> options) |
void |
FsDecoratingController.sync(BitField<FsSyncOption> options) |
abstract void |
FsController.sync(BitField<FsSyncOption> options)
Commits all unsynchronized changes to the contents of this file system
to its parent file system,
releases the associated resources (e.g. target archive files) for
access by third parties (e.g. other processes), cleans up any temporary
allocated resources (e.g. temporary files) and purges any cached data.
|
Copyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.