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.
Modifier and Type | Method and Description |
---|---|
Object |
get(String usrName)
Gets file system for the given user name.
|
Object get(String usrName) throws IOException
usrName
- User nameIOException
- In case of error.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019