| Package | Description |
|---|---|
| alluxio.client.file |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseFileSystem
Default implementation of the
FileSystem interface. |
| Modifier and Type | Method and Description |
|---|---|
static FileSystem |
FileSystem.Factory.create(alluxio.conf.AlluxioConfiguration alluxioConf) |
static FileSystem |
FileSystem.Factory.create(alluxio.ClientContext ctx) |
static FileSystem |
FileSystem.Factory.create(FileSystemContext context) |
static FileSystem |
FileSystem.Factory.get() |
FileSystem |
FileSystem.Cache.get(FileSystem.FileSystemKey key)
Gets a
FileSystem from the cache. |
static FileSystem |
FileSystem.Factory.get(Subject subject)
Get a FileSystem from the cache with a given subject.
|
FileSystem |
FileSystem.Cache.remove(FileSystem.FileSystemKey key)
Removes the client with the given key from the cache.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
FileSystemUtils.persistAndWait(FileSystem fs,
alluxio.AlluxioURI uri,
long persistenceWaitTime)
Convenience method for
#persistAndWait(fs, uri, persistenceWaitTime, -1). |
static void |
FileSystemUtils.persistAndWait(FileSystem fs,
alluxio.AlluxioURI uri,
long persistenceWaitTime,
int timeoutMs)
Persists the given path to the under file system and returns once the persist is complete.
|
static boolean |
FileSystemUtils.waitCompleted(FileSystem fs,
alluxio.AlluxioURI uri)
Shortcut for
waitCompleted(fs, uri, -1, TimeUnit.MILLISECONDS), i.e., wait for an
indefinite amount of time. |
static boolean |
FileSystemUtils.waitCompleted(FileSystem fs,
alluxio.AlluxioURI uri,
long timeout,
TimeUnit tunit)
Waits for a file to be marked as completed.
|
Copyright © 2024. All Rights Reserved.