public static interface FileSystemWorkerClientService.Iface extends AlluxioService.Iface
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 ufsPath,
CreateUfsFileTOptions options)
Creates a file in the under file system.
|
OpenUfsFileTResponse |
openUfsFile(long sessionId,
String ufsPath,
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.
|
getServiceVersion
CancelUfsFileTResponse cancelUfsFile(long sessionId, long tempUfsFileId, CancelUfsFileTOptions options) throws AlluxioTException, org.apache.thrift.TException
sessionId
- the id of the current sessiontempUfsFileId
- the worker specific file id of the ufs fileoptions
- the options for canceling the fileAlluxioTException
org.apache.thrift.TException
CloseUfsFileTResponse closeUfsFile(long sessionId, long tempUfsFileId, CloseUfsFileTOptions options) throws AlluxioTException, org.apache.thrift.TException
sessionId
- the id of the current sessiontempUfsFileId
- the worker specific file id of the ufs fileoptions
- the options for closing the fileAlluxioTException
org.apache.thrift.TException
CompleteUfsFileTReponse completeUfsFile(long sessionId, long tempUfsFileId, CompleteUfsFileTOptions options) throws AlluxioTException, org.apache.thrift.TException
sessionId
- the id of the current sessiontempUfsFileId
- the worker specific file id of the ufs fileoptions
- the options for completing the fileAlluxioTException
org.apache.thrift.TException
CreateUfsFileTResponse createUfsFile(long sessionId, String ufsPath, CreateUfsFileTOptions options) throws AlluxioTException, org.apache.thrift.TException
sessionId
- the id of the current sessionufsPath
- the path of the file in the ufsoptions
- the options for creating the fileAlluxioTException
org.apache.thrift.TException
OpenUfsFileTResponse openUfsFile(long sessionId, String ufsPath, OpenUfsFileTOptions options) throws AlluxioTException, org.apache.thrift.TException
sessionId
- the id of the current sessionufsPath
- the path of the file in the ufsoptions
- the options for opening the fileAlluxioTException
org.apache.thrift.TException
SessionFileSystemHeartbeatTResponse sessionFileSystemHeartbeat(long sessionId, List<Long> metrics, SessionFileSystemHeartbeatTOptions options) throws AlluxioTException, org.apache.thrift.TException
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
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.