public static class FileSystemMasterService.Client extends org.apache.thrift.TServiceClient implements FileSystemMasterService.Iface
| Modifier and Type | Class and Description |
|---|---|
static class |
FileSystemMasterService.Client.Factory |
| Constructor and Description |
|---|
FileSystemMasterService.Client(org.apache.thrift.protocol.TProtocol prot) |
FileSystemMasterService.Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot) |
| Modifier and Type | Method and Description |
|---|---|
void |
completeFile(long fileId) |
long |
create(String path,
CreateTOptions options) |
boolean |
deleteFile(long fileId,
boolean recursive) |
boolean |
free(long fileId,
boolean recursive) |
FileBlockInfo |
getFileBlockInfo(long fileId,
int fileBlockIndex) |
List<FileBlockInfo> |
getFileBlockInfoList(long fileId) |
long |
getFileId(String path) |
FileInfo |
getFileInfo(long fileId) |
List<FileInfo> |
getFileInfoList(long fileId) |
long |
getNewBlockIdForFile(long fileId) |
String |
getUfsAddress() |
long |
loadMetadata(String ufsPath,
boolean recursive)
Loads metadata for the object identified by the given Tachyon path from UFS into Tachyon.
|
boolean |
mkdir(String path,
MkdirTOptions options) |
boolean |
mount(String tachyonPath,
String ufsPath)
Creates a new "mount point", mounts the given UFS path in the Tachyon namespace at the given
path.
|
boolean |
persistFile(long fileId,
long length) |
void |
recv_completeFile() |
long |
recv_create() |
boolean |
recv_deleteFile() |
boolean |
recv_free() |
FileBlockInfo |
recv_getFileBlockInfo() |
List<FileBlockInfo> |
recv_getFileBlockInfoList() |
long |
recv_getFileId() |
FileInfo |
recv_getFileInfo() |
List<FileInfo> |
recv_getFileInfoList() |
long |
recv_getNewBlockIdForFile() |
String |
recv_getUfsAddress() |
long |
recv_loadMetadata() |
boolean |
recv_mkdir() |
boolean |
recv_mount() |
boolean |
recv_persistFile() |
boolean |
recv_renameFile() |
void |
recv_reportLostFile() |
void |
recv_setPinned() |
boolean |
recv_unmount() |
Set<Long> |
recv_workerGetPinIdList() |
boolean |
renameFile(long fileId,
String dstPath) |
void |
reportLostFile(long fileId) |
void |
send_completeFile(long fileId) |
void |
send_create(String path,
CreateTOptions options) |
void |
send_deleteFile(long fileId,
boolean recursive) |
void |
send_free(long fileId,
boolean recursive) |
void |
send_getFileBlockInfo(long fileId,
int fileBlockIndex) |
void |
send_getFileBlockInfoList(long fileId) |
void |
send_getFileId(String path) |
void |
send_getFileInfo(long fileId) |
void |
send_getFileInfoList(long fileId) |
void |
send_getNewBlockIdForFile(long fileId) |
void |
send_getUfsAddress() |
void |
send_loadMetadata(String ufsPath,
boolean recursive) |
void |
send_mkdir(String path,
MkdirTOptions options) |
void |
send_mount(String tachyonPath,
String ufsPath) |
void |
send_persistFile(long fileId,
long length) |
void |
send_renameFile(long fileId,
String dstPath) |
void |
send_reportLostFile(long fileId) |
void |
send_setPinned(long fileId,
boolean pinned) |
void |
send_unmount(String tachyonPath) |
void |
send_workerGetPinIdList() |
void |
setPinned(long fileId,
boolean pinned) |
boolean |
unmount(String tachyonPath)
Deletes an existing "mount point", voiding the Tachyon namespace at the given path.
|
Set<Long> |
workerGetPinIdList() |
public FileSystemMasterService.Client(org.apache.thrift.protocol.TProtocol prot)
public FileSystemMasterService.Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot)
public void completeFile(long fileId)
throws TachyonTException,
org.apache.thrift.TException
completeFile in interface FileSystemMasterService.IfaceTachyonTExceptionorg.apache.thrift.TExceptionpublic void send_completeFile(long fileId)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_completeFile()
throws TachyonTException,
org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionpublic boolean mkdir(String path, MkdirTOptions options) throws TachyonTException, ThriftIOException, org.apache.thrift.TException
mkdir in interface FileSystemMasterService.IfaceTachyonTExceptionThriftIOExceptionorg.apache.thrift.TExceptionpublic void send_mkdir(String path, MkdirTOptions options) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean recv_mkdir()
throws TachyonTException,
ThriftIOException,
org.apache.thrift.TException
TachyonTExceptionThriftIOExceptionorg.apache.thrift.TExceptionpublic long create(String path, CreateTOptions options) throws TachyonTException, org.apache.thrift.TException
create in interface FileSystemMasterService.IfaceTachyonTExceptionorg.apache.thrift.TExceptionpublic void send_create(String path, CreateTOptions options) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic long recv_create()
throws TachyonTException,
org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionpublic boolean deleteFile(long fileId,
boolean recursive)
throws TachyonTException,
org.apache.thrift.TException
deleteFile in interface FileSystemMasterService.IfaceTachyonTExceptionorg.apache.thrift.TExceptionpublic void send_deleteFile(long fileId,
boolean recursive)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean recv_deleteFile()
throws TachyonTException,
org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionpublic boolean free(long fileId,
boolean recursive)
throws TachyonTException,
org.apache.thrift.TException
free in interface FileSystemMasterService.IfaceTachyonTExceptionorg.apache.thrift.TExceptionpublic void send_free(long fileId,
boolean recursive)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean recv_free()
throws TachyonTException,
org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionpublic FileBlockInfo getFileBlockInfo(long fileId, int fileBlockIndex) throws TachyonTException, org.apache.thrift.TException
getFileBlockInfo in interface FileSystemMasterService.IfaceTachyonTExceptionorg.apache.thrift.TExceptionpublic void send_getFileBlockInfo(long fileId,
int fileBlockIndex)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic FileBlockInfo recv_getFileBlockInfo() throws TachyonTException, org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionpublic List<FileBlockInfo> getFileBlockInfoList(long fileId) throws TachyonTException, org.apache.thrift.TException
getFileBlockInfoList in interface FileSystemMasterService.IfaceTachyonTExceptionorg.apache.thrift.TExceptionpublic void send_getFileBlockInfoList(long fileId)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic List<FileBlockInfo> recv_getFileBlockInfoList() throws TachyonTException, org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionpublic long getFileId(String path) throws org.apache.thrift.TException
getFileId in interface FileSystemMasterService.Ifaceorg.apache.thrift.TExceptionpublic void send_getFileId(String path) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic long recv_getFileId()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic FileInfo getFileInfo(long fileId) throws TachyonTException, org.apache.thrift.TException
getFileInfo in interface FileSystemMasterService.IfaceTachyonTExceptionorg.apache.thrift.TExceptionpublic void send_getFileInfo(long fileId)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic FileInfo recv_getFileInfo() throws TachyonTException, org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionpublic List<FileInfo> getFileInfoList(long fileId) throws TachyonTException, org.apache.thrift.TException
getFileInfoList in interface FileSystemMasterService.IfaceTachyonTExceptionorg.apache.thrift.TExceptionpublic void send_getFileInfoList(long fileId)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic List<FileInfo> recv_getFileInfoList() throws TachyonTException, org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionpublic long getNewBlockIdForFile(long fileId)
throws TachyonTException,
org.apache.thrift.TException
getNewBlockIdForFile in interface FileSystemMasterService.IfaceTachyonTExceptionorg.apache.thrift.TExceptionpublic void send_getNewBlockIdForFile(long fileId)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic long recv_getNewBlockIdForFile()
throws TachyonTException,
org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionpublic String getUfsAddress() throws org.apache.thrift.TException
getUfsAddress in interface FileSystemMasterService.Ifaceorg.apache.thrift.TExceptionpublic void send_getUfsAddress()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic String recv_getUfsAddress() throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic long loadMetadata(String ufsPath, boolean recursive) throws TachyonTException, org.apache.thrift.TException
FileSystemMasterService.IfaceloadMetadata in interface FileSystemMasterService.IfaceTachyonTExceptionorg.apache.thrift.TExceptionpublic void send_loadMetadata(String ufsPath, boolean recursive) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic long recv_loadMetadata()
throws TachyonTException,
org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionpublic boolean mount(String tachyonPath, String ufsPath) throws TachyonTException, ThriftIOException, org.apache.thrift.TException
FileSystemMasterService.Ifacemount in interface FileSystemMasterService.IfaceTachyonTExceptionThriftIOExceptionorg.apache.thrift.TExceptionpublic void send_mount(String tachyonPath, String ufsPath) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean recv_mount()
throws TachyonTException,
ThriftIOException,
org.apache.thrift.TException
TachyonTExceptionThriftIOExceptionorg.apache.thrift.TExceptionpublic boolean persistFile(long fileId,
long length)
throws TachyonTException,
org.apache.thrift.TException
persistFile in interface FileSystemMasterService.IfaceTachyonTExceptionorg.apache.thrift.TExceptionpublic void send_persistFile(long fileId,
long length)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean recv_persistFile()
throws TachyonTException,
org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionpublic boolean renameFile(long fileId,
String dstPath)
throws TachyonTException,
org.apache.thrift.TException
renameFile in interface FileSystemMasterService.IfaceTachyonTExceptionorg.apache.thrift.TExceptionpublic void send_renameFile(long fileId,
String dstPath)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean recv_renameFile()
throws TachyonTException,
org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionpublic void reportLostFile(long fileId)
throws TachyonTException,
org.apache.thrift.TException
reportLostFile in interface FileSystemMasterService.IfaceTachyonTExceptionorg.apache.thrift.TExceptionpublic void send_reportLostFile(long fileId)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_reportLostFile()
throws TachyonTException,
org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionpublic void setPinned(long fileId,
boolean pinned)
throws TachyonTException,
org.apache.thrift.TException
setPinned in interface FileSystemMasterService.IfaceTachyonTExceptionorg.apache.thrift.TExceptionpublic void send_setPinned(long fileId,
boolean pinned)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_setPinned()
throws TachyonTException,
org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionpublic boolean unmount(String tachyonPath) throws TachyonTException, ThriftIOException, org.apache.thrift.TException
FileSystemMasterService.Ifaceunmount in interface FileSystemMasterService.IfaceTachyonTExceptionThriftIOExceptionorg.apache.thrift.TExceptionpublic void send_unmount(String tachyonPath) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean recv_unmount()
throws TachyonTException,
ThriftIOException,
org.apache.thrift.TException
TachyonTExceptionThriftIOExceptionorg.apache.thrift.TExceptionpublic Set<Long> workerGetPinIdList() throws org.apache.thrift.TException
workerGetPinIdList in interface FileSystemMasterService.Ifaceorg.apache.thrift.TExceptionpublic void send_workerGetPinIdList()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2015. All Rights Reserved.