public static class UnderFileSystem.Factory extends Object
UnderFileSystem
.Modifier and Type | Method and Description |
---|---|
static UnderFileSystem |
create(String path,
AlluxioConfiguration conf)
Creates the
UnderFileSystem instance according to its UFS path. |
static UnderFileSystem |
create(String path,
UnderFileSystemConfiguration ufsConf)
Creates a client for operations involved with the under file system.
|
static UnderFileSystem |
createForRoot(AlluxioConfiguration conf) |
static UnderFileSystem |
createWithRecorder(String path,
UnderFileSystemConfiguration ufsConf,
Recorder recorder)
Creates a client for operations involved with the under file system and record the
execution process.
|
public static UnderFileSystem create(String path, AlluxioConfiguration conf)
UnderFileSystem
instance according to its UFS path. This method should
only be used for journal operations and tests.path
- journal path in ufsconf
- the configuration object w/o mount specific optionspublic static UnderFileSystem create(String path, UnderFileSystemConfiguration ufsConf)
IllegalArgumentException
is thrown if there is no under file system for the given
path or if no under file system could successfully be created.path
- pathufsConf
- configuration object for the UFSpublic static UnderFileSystem createWithRecorder(String path, UnderFileSystemConfiguration ufsConf, Recorder recorder)
IllegalArgumentException
is thrown if there is no under file system for the given
path or if no under file system could successfully be created.path
- pathufsConf
- configuration object for the UFSrecorder
- recorder used to record the detailed execution processpublic static UnderFileSystem createForRoot(AlluxioConfiguration conf)
conf
- configurationCopyright © 2023. All Rights Reserved.