Package alluxio.master.backcompat
Class Utils
- java.lang.Object
-
- alluxio.master.backcompat.Utils
-
public final class Utils extends java.lang.ObjectUtil methods.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcreateFile(alluxio.client.file.FileSystem fs, alluxio.AlluxioURI path)Creates a file at the given path.static voidcreateFile(alluxio.client.file.FileSystem fs, alluxio.AlluxioURI path, alluxio.grpc.CreateFilePOptions options)Creates a file at the given path.
-
-
-
Method Detail
-
createFile
public static void createFile(alluxio.client.file.FileSystem fs, alluxio.AlluxioURI path) throws java.lang.ExceptionCreates a file at the given path.- Parameters:
fs- a filesystem clientpath- the file path- Throws:
java.lang.Exception
-
createFile
public static void createFile(alluxio.client.file.FileSystem fs, alluxio.AlluxioURI path, alluxio.grpc.CreateFilePOptions options) throws java.lang.ExceptionCreates a file at the given path.- Parameters:
fs- a filesystem clientpath- the file pathoptions- create file options- Throws:
java.lang.Exception
-
-