public static final class FileSystemMasterClientServiceGrpc.FileSystemMasterClientServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<FileSystemMasterClientServiceGrpc.FileSystemMasterClientServiceBlockingStub>
This interface contains file system master service endpoints for Alluxio clients.
Modifier and Type | Method and Description |
---|---|
protected FileSystemMasterClientServiceGrpc.FileSystemMasterClientServiceBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
CheckAccessPResponse |
checkAccess(CheckAccessPRequest request)
Checks access to path.
|
CheckConsistencyPResponse |
checkConsistency(CheckConsistencyPRequest request)
Checks the consistency of the files and directores with the path as the root of the subtree
|
CompleteFilePResponse |
completeFile(CompleteFilePRequest request)
Marks a file as completed.
|
CreateDirectoryPResponse |
createDirectory(CreateDirectoryPRequest request)
Creates a directory.
|
CreateFilePResponse |
createFile(CreateFilePRequest request)
Creates a file.
|
ExistsPResponse |
exists(ExistsPRequest request)
Checks the existence of the file or directory.
|
FreePResponse |
free(FreePRequest request)
Frees the given file or directory from Alluxio.
|
GetFilePathPResponse |
getFilePath(GetFilePathPRequest request)
Returns the file path of a file id
|
GetJobProgressPResponse |
getJobProgress(GetJobProgressPRequest request) |
GetMountIdPResponse |
getMountId(GetMountIdPRequest request)
Reverse resolve a ufs path and get mount id.
|
GetMountTablePResponse |
getMountTable(GetMountTablePRequest request)
Returns a map from each Alluxio path to information of corresponding mount point
|
GetNewBlockIdForFilePResponse |
getNewBlockIdForFile(GetNewBlockIdForFilePRequest request)
Generates a new block id for the given file.
|
GetStateLockHoldersPResponse |
getStateLockHolders(GetStateLockHoldersPRequest request) |
GetStatusPResponse |
getStatus(GetStatusPRequest request)
Returns the status of the file or directory.
|
Iterator<ListStatusPResponse> |
listStatus(ListStatusPRequest request)
If the path points to a file, the method returns a singleton with its file information.
|
ListStatusPartialPResponse |
listStatusPartial(ListStatusPartialPRequest request)
If the path points to a file, the method returns a singleton with its file information.
|
MountPResponse |
mount(MountPRequest request)
Creates a new "mount point", mounts the given UFS path in the Alluxio namespace at the given
path.
|
NeedsSyncResponse |
needsSync(NeedsSyncRequest request) |
DeletePResponse |
remove(DeletePRequest request)
Deletes a file or a directory and returns whether the remove operation succeeded.
|
RenamePResponse |
rename(RenamePRequest request)
Renames a file or a directory.
|
ReverseResolvePResponse |
reverseResolve(ReverseResolvePRequest request)
Reverse resolve a ufs path.
|
ScheduleAsyncPersistencePResponse |
scheduleAsyncPersistence(ScheduleAsyncPersistencePRequest request)
Schedules async persistence.
|
SetAclPResponse |
setAcl(SetAclPRequest request)
Sets ACL for the path.
|
SetAttributePResponse |
setAttribute(SetAttributePRequest request)
Sets file or directory attributes.
|
StopJobPResponse |
stopJob(StopJobPRequest request) |
SubmitJobPResponse |
submitJob(SubmitJobPRequest request)
Load a directory into Alluxio.
|
UnmountPResponse |
unmount(UnmountPRequest request)
Deletes an existing "mount point", voiding the Alluxio namespace at the given path.
|
UpdateMountPResponse |
updateMount(UpdateMountPRequest request)
Updates an existing "mount point", changing its mount properties
|
UpdateUfsModePResponse |
updateUfsMode(UpdateUfsModePRequest request)
Updates the ufs mode for a ufs path under one or more mount points.
|
protected FileSystemMasterClientServiceGrpc.FileSystemMasterClientServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<FileSystemMasterClientServiceGrpc.FileSystemMasterClientServiceBlockingStub>
public CheckAccessPResponse checkAccess(CheckAccessPRequest request)
Checks access to path.
public CheckConsistencyPResponse checkConsistency(CheckConsistencyPRequest request)
Checks the consistency of the files and directores with the path as the root of the subtree
public ExistsPResponse exists(ExistsPRequest request)
Checks the existence of the file or directory.
public CompleteFilePResponse completeFile(CompleteFilePRequest request)
Marks a file as completed.
public CreateDirectoryPResponse createDirectory(CreateDirectoryPRequest request)
Creates a directory.
public CreateFilePResponse createFile(CreateFilePRequest request)
Creates a file.
public FreePResponse free(FreePRequest request)
Frees the given file or directory from Alluxio.
public GetFilePathPResponse getFilePath(GetFilePathPRequest request)
Returns the file path of a file id
public GetMountTablePResponse getMountTable(GetMountTablePRequest request)
Returns a map from each Alluxio path to information of corresponding mount point
public GetNewBlockIdForFilePResponse getNewBlockIdForFile(GetNewBlockIdForFilePRequest request)
Generates a new block id for the given file.
public GetStatusPResponse getStatus(GetStatusPRequest request)
Returns the status of the file or directory.
public Iterator<ListStatusPResponse> listStatus(ListStatusPRequest request)
If the path points to a file, the method returns a singleton with its file information. If the path points to a directory, the method returns a list with file information for the directory contents.
public ListStatusPartialPResponse listStatusPartial(ListStatusPartialPRequest request)
If the path points to a file, the method returns a singleton with its file information. If the path points to a directory, the method returns a list with file information for the directory contents. This operation takes additional options for partial listing of files.
public MountPResponse mount(MountPRequest request)
Creates a new "mount point", mounts the given UFS path in the Alluxio namespace at the given path. The path should not exist and should not be nested under any existing mount point.
public DeletePResponse remove(DeletePRequest request)
Deletes a file or a directory and returns whether the remove operation succeeded.
public RenamePResponse rename(RenamePRequest request)
Renames a file or a directory.
public ReverseResolvePResponse reverseResolve(ReverseResolvePRequest request)
Reverse resolve a ufs path.
public GetMountIdPResponse getMountId(GetMountIdPRequest request)
Reverse resolve a ufs path and get mount id.
public ScheduleAsyncPersistencePResponse scheduleAsyncPersistence(ScheduleAsyncPersistencePRequest request)
Schedules async persistence.
public SetAclPResponse setAcl(SetAclPRequest request)
Sets ACL for the path.
public SetAttributePResponse setAttribute(SetAttributePRequest request)
Sets file or directory attributes.
public UnmountPResponse unmount(UnmountPRequest request)
Deletes an existing "mount point", voiding the Alluxio namespace at the given path. The path should correspond to an existing mount point. Any files in its subtree that are backed by UFS will be persisted before they are removed from the Alluxio namespace.
public UpdateMountPResponse updateMount(UpdateMountPRequest request)
Updates an existing "mount point", changing its mount properties
public UpdateUfsModePResponse updateUfsMode(UpdateUfsModePRequest request)
Updates the ufs mode for a ufs path under one or more mount points.
public GetStateLockHoldersPResponse getStateLockHolders(GetStateLockHoldersPRequest request)
public NeedsSyncResponse needsSync(NeedsSyncRequest request)
public SubmitJobPResponse submitJob(SubmitJobPRequest request)
Load a directory into Alluxio.
public StopJobPResponse stopJob(StopJobPRequest request)
public GetJobProgressPResponse getJobProgress(GetJobProgressPRequest request)
Copyright © 2023. All Rights Reserved.