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) |
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.
|
FreePResponse |
free(FreePRequest request)
Frees the given file or directory from Alluxio.
|
GetFilePathPResponse |
getFilePath(GetFilePathPRequest request)
Returns the file path of a file 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.
|
GetSyncPathListPResponse |
getSyncPathList(GetSyncPathListPRequest request)
Returns a list of paths that are being actively synced by Alluxio
|
Iterator<ListStatusPResponse> |
listStatus(ListStatusPRequest 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.
|
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.
|
StartSyncPResponse |
startSync(StartSyncPRequest request)
Start the active syncing of the directory or file
|
StopSyncPResponse |
stopSync(StopSyncPRequest request)
Start the active syncing of the directory or file
|
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 CheckConsistencyPResponse checkConsistency(CheckConsistencyPRequest request)
Checks the consistency of the files and directores with the path as the root of the subtree
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 GetSyncPathListPResponse getSyncPathList(GetSyncPathListPRequest request)
Returns a list of paths that are being actively synced by Alluxio
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 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 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 StartSyncPResponse startSync(StartSyncPRequest request)
Start the active syncing of the directory or file
public StopSyncPResponse stopSync(StopSyncPRequest request)
Start the active syncing of the directory or file
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)
Copyright © 2023. All Rights Reserved.