Package alluxio.underfs
Class UfsManager.UfsClient
- java.lang.Object
-
- alluxio.underfs.UfsManager.UfsClient
-
- Enclosing interface:
- UfsManager
public static class UfsManager.UfsClient extends java.lang.Object
Container for a UFS and the URI for that UFS.
-
-
Constructor Summary
Constructors Constructor Description UfsClient(java.util.function.Supplier<UnderFileSystem> ufsSupplier, AlluxioURI ufsMountPointUri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloseableResource<UnderFileSystem>
acquireUfsResource()
AlluxioURI
getUfsMountPointUri()
-
-
-
Constructor Detail
-
UfsClient
public UfsClient(java.util.function.Supplier<UnderFileSystem> ufsSupplier, AlluxioURI ufsMountPointUri)
- Parameters:
ufsSupplier
- the supplier function to create a new UFS instanceufsMountPointUri
- the URI for the UFS path which is mounted in Alluxio
-
-
Method Detail
-
acquireUfsResource
public CloseableResource<UnderFileSystem> acquireUfsResource()
- Returns:
- the UFS instance
-
getUfsMountPointUri
public AlluxioURI getUfsMountPointUri()
- Returns:
- the URI for the UFS path which is mounted in Alluxio
-
-