public interface GridGgfsEx
extends org.gridgain.grid.ggfs.GridGgfs
GridGgfs.| Modifier and Type | Method and Description |
|---|---|
org.gridgain.grid.GridFuture<?> |
awaitDeletesAsync()
Asynchronously await for all entries existing in trash to be removed.
|
String |
clientLogDirectory()
Gets client file system log directory.
|
void |
clientLogDirectory(String logDir)
Sets client file system log directory.
|
GridGgfsContext |
context() |
boolean |
evictExclude(org.gridgain.grid.ggfs.GridGgfsPath path,
boolean primary)
Whether this path is excluded from evictions.
|
Boolean |
globalSampling()
Get sampling state.
|
void |
globalSampling(Boolean val)
Enables, disables or clears sampling flag.
|
GridGgfsStatus |
globalSpace()
Gets global space counters.
|
long |
groupBlockSize()
Gets group block size, i.e.
|
boolean |
isProxy(URI path)
Check whether the given path is proxy path.
|
GridGgfsLocalMetrics |
localMetrics()
Get local metrics.
|
org.gridgain.grid.GridUuid |
nextAffinityKey()
Get next affinity key.
|
GridGgfsInputStreamAdapter |
open(org.gridgain.grid.ggfs.GridGgfsPath path) |
GridGgfsInputStreamAdapter |
open(org.gridgain.grid.ggfs.GridGgfsPath path,
int bufSize) |
GridGgfsInputStreamAdapter |
open(org.gridgain.grid.ggfs.GridGgfsPath path,
int bufSize,
int seqReadsBeforePrefetch) |
GridGgfsPaths |
proxyPaths()
Get handshake message.
|
void |
stop()
Stops GGFS cleaning all used resources.
|
affinity, affinity, append, append, configuration, create, create, delete, execute, execute, execute, execute, exists, format, info, listFiles, listPaths, metrics, mkdirs, mkdirs, name, rename, resetMetrics, setTimes, size, summary, updatevoid stop()
GridGgfsContext context()
GridGgfsPaths proxyPaths()
GridGgfsInputStreamAdapter open(org.gridgain.grid.ggfs.GridGgfsPath path, int bufSize, int seqReadsBeforePrefetch) throws org.gridgain.grid.GridException
open in interface org.gridgain.grid.ggfs.GridGgfsorg.gridgain.grid.GridExceptionGridGgfsInputStreamAdapter open(org.gridgain.grid.ggfs.GridGgfsPath path) throws org.gridgain.grid.GridException
open in interface org.gridgain.grid.ggfs.GridGgfsorg.gridgain.grid.GridExceptionGridGgfsInputStreamAdapter open(org.gridgain.grid.ggfs.GridGgfsPath path, int bufSize) throws org.gridgain.grid.GridException
open in interface org.gridgain.grid.ggfs.GridGgfsorg.gridgain.grid.GridExceptionGridGgfsStatus globalSpace() throws org.gridgain.grid.GridException
org.gridgain.grid.GridException - If task execution failed.void globalSampling(@Nullable
Boolean val)
throws org.gridgain.grid.GridException
val - True to turn on sampling, false to turn it off, null to clear sampling state.org.gridgain.grid.GridException - If failed.@Nullable Boolean globalSampling()
True in case sampling is enabled, false otherwise, or null in case sampling
flag is not set.GridGgfsLocalMetrics localMetrics()
long groupBlockSize()
org.gridgain.grid.GridFuture<?> awaitDeletesAsync()
throws org.gridgain.grid.GridException
org.gridgain.grid.GridException - If failed.@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(org.gridgain.grid.ggfs.GridGgfsPath path,
boolean primary)
path - Path.primary - Whether the mode is PRIMARY.True if path is excluded from evictions.org.gridgain.grid.GridUuid nextAffinityKey()
boolean isProxy(URI path)
path - Path.True if proxy.Copyright © 2014. All rights reserved.