public interface IgfsEx extends IgniteFileSystem
IgniteFileSystem.IGFS_SCHEME| Modifier and Type | Method and Description |
|---|---|
IgfsSecondaryFileSystem |
asSecondary()
Return the given IGFS as a secondary file system.
|
void |
await(IgfsPath... paths)
Await for any pending finished writes on the children paths.
|
@Nullable String |
clientLogDirectory()
Gets client file system log directory.
|
void |
clientLogDirectory(String logDir)
Sets client file system log directory.
|
IgfsContext |
context() |
boolean |
evictExclude(IgfsPath path,
boolean primary)
Whether this path is excluded from evictions.
|
@Nullable Boolean |
globalSampling()
Get sampling state.
|
void |
globalSampling(@Nullable Boolean val)
Enables, disables or clears sampling flag.
|
IgfsStatus |
globalSpace()
Gets global space counters.
|
long |
groupBlockSize()
Gets group block size, i.e. block size multiplied by group size in affinity mapper.
|
boolean |
isProxy(URI path)
Check whether the given path is proxy path.
|
IgniteUuid |
nextAffinityKey()
Get next affinity key.
|
void |
stop(boolean cancel)
Stops IGFS cleaning all used resources.
|
affinity, affinity, append, append, clear, clearAsync, configuration, create, create, create, delete, execute, execute, execute, execute, executeAsync, executeAsync, executeAsync, executeAsync, exists, info, listFiles, listPaths, metrics, mkdirs, mkdirs, mode, name, open, open, open, rename, resetMetrics, setTimes, size, summary, update, usedSpaceSize, withAsyncfuture, isAsyncvoid stop(boolean cancel)
cancel - Cancellation flag.IgfsContext context()
IgfsStatus globalSpace() throws IgniteCheckedException
IgniteCheckedException - If task execution failed.void globalSampling(@Nullable
@Nullable Boolean val)
throws IgniteCheckedException
val - True to turn on sampling, false to turn it off, null to clear sampling state.IgniteCheckedException - If failed.@Nullable @Nullable Boolean globalSampling()
True in case sampling is enabled, false otherwise, or null in case sampling
flag is not set.long groupBlockSize()
@Nullable @Nullable String clientLogDirectory()
null in case no client connections have been created yet.void clientLogDirectory(String logDir)
logDir - Client file system log directory.boolean evictExclude(IgfsPath path, boolean primary)
path - Path.primary - Whether the mode is PRIMARY.True if path is excluded from evictions.IgniteUuid nextAffinityKey()
boolean isProxy(URI path)
path - Path.True if proxy.IgfsSecondaryFileSystem asSecondary()
void await(IgfsPath... paths)
paths - Paths to check.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020