public static class FileSystemWorkerClientService.Client extends AlluxioService.Client implements FileSystemWorkerClientService.Iface
Modifier and Type | Class and Description |
---|---|
static class |
FileSystemWorkerClientService.Client.Factory |
Constructor and Description |
---|
Client(org.apache.thrift.protocol.TProtocol prot) |
Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot) |
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.
|
CancelUfsFileTResponse |
recv_cancelUfsFile() |
CloseUfsFileTResponse |
recv_closeUfsFile() |
CompleteUfsFileTReponse |
recv_completeUfsFile() |
CreateUfsFileTResponse |
recv_createUfsFile() |
OpenUfsFileTResponse |
recv_openUfsFile() |
SessionFileSystemHeartbeatTResponse |
recv_sessionFileSystemHeartbeat() |
void |
send_cancelUfsFile(long sessionId,
long tempUfsFileId,
CancelUfsFileTOptions options) |
void |
send_closeUfsFile(long sessionId,
long tempUfsFileId,
CloseUfsFileTOptions options) |
void |
send_completeUfsFile(long sessionId,
long tempUfsFileId,
CompleteUfsFileTOptions options) |
void |
send_createUfsFile(long sessionId,
String ufsPath,
CreateUfsFileTOptions options) |
void |
send_openUfsFile(long sessionId,
String ufsPath,
OpenUfsFileTOptions options) |
void |
send_sessionFileSystemHeartbeat(long sessionId,
List<Long> metrics,
SessionFileSystemHeartbeatTOptions options) |
SessionFileSystemHeartbeatTResponse |
sessionFileSystemHeartbeat(long sessionId,
List<Long> metrics,
SessionFileSystemHeartbeatTOptions options)
Local session send heartbeat to local worker to keep its state.
|
getServiceVersion, recv_getServiceVersion, send_getServiceVersion
getInputProtocol, getOutputProtocol, receiveBase, sendBase, sendBaseOneway
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getServiceVersion
public Client(org.apache.thrift.protocol.TProtocol prot)
public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
public CancelUfsFileTResponse cancelUfsFile(long sessionId, long tempUfsFileId, CancelUfsFileTOptions options) throws AlluxioTException, org.apache.thrift.TException
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
org.apache.thrift.TException
public void send_cancelUfsFile(long sessionId, long tempUfsFileId, CancelUfsFileTOptions options) throws org.apache.thrift.TException
org.apache.thrift.TException
public CancelUfsFileTResponse recv_cancelUfsFile() throws AlluxioTException, org.apache.thrift.TException
AlluxioTException
org.apache.thrift.TException
public CloseUfsFileTResponse closeUfsFile(long sessionId, long tempUfsFileId, CloseUfsFileTOptions options) throws AlluxioTException, org.apache.thrift.TException
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
org.apache.thrift.TException
public void send_closeUfsFile(long sessionId, long tempUfsFileId, CloseUfsFileTOptions options) throws org.apache.thrift.TException
org.apache.thrift.TException
public CloseUfsFileTResponse recv_closeUfsFile() throws AlluxioTException, org.apache.thrift.TException
AlluxioTException
org.apache.thrift.TException
public CompleteUfsFileTReponse completeUfsFile(long sessionId, long tempUfsFileId, CompleteUfsFileTOptions options) throws AlluxioTException, org.apache.thrift.TException
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
org.apache.thrift.TException
public void send_completeUfsFile(long sessionId, long tempUfsFileId, CompleteUfsFileTOptions options) throws org.apache.thrift.TException
org.apache.thrift.TException
public CompleteUfsFileTReponse recv_completeUfsFile() throws AlluxioTException, org.apache.thrift.TException
AlluxioTException
org.apache.thrift.TException
public CreateUfsFileTResponse createUfsFile(long sessionId, String ufsPath, CreateUfsFileTOptions options) throws AlluxioTException, org.apache.thrift.TException
FileSystemWorkerClientService.Iface
createUfsFile
in interface FileSystemWorkerClientService.Iface
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
public void send_createUfsFile(long sessionId, String ufsPath, CreateUfsFileTOptions options) throws org.apache.thrift.TException
org.apache.thrift.TException
public CreateUfsFileTResponse recv_createUfsFile() throws AlluxioTException, org.apache.thrift.TException
AlluxioTException
org.apache.thrift.TException
public OpenUfsFileTResponse openUfsFile(long sessionId, String ufsPath, OpenUfsFileTOptions options) throws AlluxioTException, org.apache.thrift.TException
FileSystemWorkerClientService.Iface
openUfsFile
in interface FileSystemWorkerClientService.Iface
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
public void send_openUfsFile(long sessionId, String ufsPath, OpenUfsFileTOptions options) throws org.apache.thrift.TException
org.apache.thrift.TException
public OpenUfsFileTResponse recv_openUfsFile() throws AlluxioTException, org.apache.thrift.TException
AlluxioTException
org.apache.thrift.TException
public SessionFileSystemHeartbeatTResponse sessionFileSystemHeartbeat(long sessionId, List<Long> metrics, SessionFileSystemHeartbeatTOptions options) throws AlluxioTException, org.apache.thrift.TException
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
org.apache.thrift.TException
public void send_sessionFileSystemHeartbeat(long sessionId, List<Long> metrics, SessionFileSystemHeartbeatTOptions options) throws org.apache.thrift.TException
org.apache.thrift.TException
public SessionFileSystemHeartbeatTResponse recv_sessionFileSystemHeartbeat() throws AlluxioTException, org.apache.thrift.TException
AlluxioTException
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.