@NotThreadSafe public final class FileSystemWorkerClientServiceHandler extends Object implements FileSystemWorkerClientService.Iface
UnsupportedOperationException
.Modifier and Type | Method and Description |
---|---|
CancelUfsFileTResponse |
cancelUfsFile(long sessionId,
long tempUfsFileId,
CancelUfsFileTOptions options)
Cancels a file which has not been completed in the under file system.
|
CloseUfsFileTResponse |
closeUfsFile(long sessionId,
long tempUfsFileId,
CloseUfsFileTOptions options)
Closes a file in the under file system which was previously opened for reading.
|
CompleteUfsFileTReponse |
completeUfsFile(long sessionId,
long tempUfsFileId,
CompleteUfsFileTOptions options)
Completes a file in the under file system.
|
CreateUfsFileTResponse |
createUfsFile(long sessionId,
String ufsUri,
CreateUfsFileTOptions options)
Creates a file in the under file system.
|
GetServiceVersionTResponse |
getServiceVersion(GetServiceVersionTOptions options)
Returns the version of the master service.
|
OpenUfsFileTResponse |
openUfsFile(long sessionId,
String ufsUri,
OpenUfsFileTOptions options)
Opens an existing file in the under file system for reading.
|
SessionFileSystemHeartbeatTResponse |
sessionFileSystemHeartbeat(long sessionId,
List<Long> metrics,
SessionFileSystemHeartbeatTOptions options)
Local session send heartbeat to local worker to keep its state.
|
public GetServiceVersionTResponse getServiceVersion(GetServiceVersionTOptions options)
AlluxioService.Iface
getServiceVersion
in interface AlluxioService.Iface
options
- the method optionspublic CancelUfsFileTResponse cancelUfsFile(long sessionId, long tempUfsFileId, CancelUfsFileTOptions options) throws AlluxioTException
FileSystemWorkerClientService.Iface
cancelUfsFile
in interface FileSystemWorkerClientService.Iface
sessionId
- the id of the current sessiontempUfsFileId
- the worker specific file id of the ufs fileoptions
- the options for canceling the fileAlluxioTException
public CloseUfsFileTResponse closeUfsFile(long sessionId, long tempUfsFileId, CloseUfsFileTOptions options) throws AlluxioTException
FileSystemWorkerClientService.Iface
closeUfsFile
in interface FileSystemWorkerClientService.Iface
sessionId
- the id of the current sessiontempUfsFileId
- the worker specific file id of the ufs fileoptions
- the options for closing the fileAlluxioTException
public CompleteUfsFileTReponse completeUfsFile(long sessionId, long tempUfsFileId, CompleteUfsFileTOptions options) throws AlluxioTException
FileSystemWorkerClientService.Iface
completeUfsFile
in interface FileSystemWorkerClientService.Iface
sessionId
- the id of the current sessiontempUfsFileId
- the worker specific file id of the ufs fileoptions
- the options for completing the fileAlluxioTException
public CreateUfsFileTResponse createUfsFile(long sessionId, String ufsUri, CreateUfsFileTOptions options) throws AlluxioTException
FileSystemWorkerClientService.Iface
createUfsFile
in interface FileSystemWorkerClientService.Iface
sessionId
- the id of the current sessionufsUri
- the path of the file in the ufsoptions
- the options for creating the fileAlluxioTException
public OpenUfsFileTResponse openUfsFile(long sessionId, String ufsUri, OpenUfsFileTOptions options) throws AlluxioTException
FileSystemWorkerClientService.Iface
openUfsFile
in interface FileSystemWorkerClientService.Iface
sessionId
- the id of the current sessionufsUri
- the path of the file in the ufsoptions
- the options for opening the fileAlluxioTException
public SessionFileSystemHeartbeatTResponse sessionFileSystemHeartbeat(long sessionId, List<Long> metrics, SessionFileSystemHeartbeatTOptions options) throws AlluxioTException
FileSystemWorkerClientService.Iface
sessionFileSystemHeartbeat
in interface FileSystemWorkerClientService.Iface
sessionId
- the id of the current sessionmetrics
- the client metrics. deprecated since 1.3.0 and will be removed in 2.0options
- the method optionsAlluxioTException
Copyright © 2023. All Rights Reserved.