public interface HadoopFileSystemFactory extends Serializable
FileSystem used by IgniteHadoopIgfsSecondaryFileSystem.
get(String) method will be used whenever a call to a target FileSystem is required.
It is implementation dependent whether to rely on built-in Hadoop file system cache, implement own caching facility or doesn't cache file systems at all.
Concrete factory may implement LifecycleAware interface. In this case start and stop callbacks will be
performed by Ignite. You may want to implement some initialization or cleanup there.
Note that factory extends Serializable interface as it might be necessary to transfer factories over the
wire to IgniteHadoopFileSystem if IgfsMode.PROXY is enabled for some file
system paths.
| Modifier and Type | Method and Description |
|---|---|
FileSystem |
get(String usrName)
Gets file system for the given user name.
|
FileSystem get(String usrName) throws IOException
usrName - User nameIOException - In case of error.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.11 Release Date : April 8 2016