Package alluxio.underfs.hdfs
Class HdfsUnderFileSystemFactory
- java.lang.Object
-
- alluxio.underfs.hdfs.HdfsUnderFileSystemFactory
-
- All Implemented Interfaces:
alluxio.extensions.ExtensionFactory<alluxio.underfs.UnderFileSystem,alluxio.underfs.UnderFileSystemConfiguration>
,alluxio.underfs.UnderFileSystemFactory
@ThreadSafe public class HdfsUnderFileSystemFactory extends java.lang.Object implements alluxio.underfs.UnderFileSystemFactory
Factory for creatingHdfsUnderFileSystem
. It caches createdHdfsUnderFileSystem
s, using the scheme and authority pair as the key.
-
-
Constructor Summary
Constructors Constructor Description HdfsUnderFileSystemFactory()
Constructs a newHdfsUnderFileSystemFactory
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description alluxio.underfs.UnderFileSystem
create(java.lang.String path, alluxio.underfs.UnderFileSystemConfiguration conf)
java.lang.String
getVersion()
boolean
supportsPath(java.lang.String path)
boolean
supportsPath(java.lang.String path, alluxio.underfs.UnderFileSystemConfiguration conf)
-
-
-
Constructor Detail
-
HdfsUnderFileSystemFactory
public HdfsUnderFileSystemFactory()
Constructs a newHdfsUnderFileSystemFactory
.
-
-
Method Detail
-
create
public alluxio.underfs.UnderFileSystem create(java.lang.String path, alluxio.underfs.UnderFileSystemConfiguration conf)
- Specified by:
create
in interfacealluxio.extensions.ExtensionFactory<alluxio.underfs.UnderFileSystem,alluxio.underfs.UnderFileSystemConfiguration>
- Specified by:
create
in interfacealluxio.underfs.UnderFileSystemFactory
-
supportsPath
public boolean supportsPath(java.lang.String path)
- Specified by:
supportsPath
in interfacealluxio.underfs.UnderFileSystemFactory
-
supportsPath
public boolean supportsPath(java.lang.String path, alluxio.underfs.UnderFileSystemConfiguration conf)
- Specified by:
supportsPath
in interfacealluxio.extensions.ExtensionFactory<alluxio.underfs.UnderFileSystem,alluxio.underfs.UnderFileSystemConfiguration>
- Specified by:
supportsPath
in interfacealluxio.underfs.UnderFileSystemFactory
-
getVersion
public java.lang.String getVersion()
- Specified by:
getVersion
in interfacealluxio.underfs.UnderFileSystemFactory
-
-