tachyon.thrift
Interface MasterService.AsyncIface

All Known Implementing Classes:
MasterService.AsyncClient
Enclosing class:
MasterService

public static interface MasterService.AsyncIface


Method Summary
 void addCheckpoint(long workerId, int fileId, long fileSizeBytes, String checkpointPath, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.addCheckpoint_call> resultHandler)
           
 void cmd_ls(String path, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.cmd_ls_call> resultHandler)
           
 void user_createFile(String filePath, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_createFile_call> resultHandler)
           
 void user_createRawTable(String path, int columns, ByteBuffer metadata, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_createRawTable_call> resultHandler)
           
 void user_deleteById(int fileId, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_deleteById_call> resultHandler)
           
 void user_deleteByPath(String path, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_deleteByPath_call> resultHandler)
           
 void user_getClientFileInfoById(int fileId, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getClientFileInfoById_call> resultHandler)
           
 void user_getClientFileInfoByPath(String filePath, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getClientFileInfoByPath_call> resultHandler)
           
 void user_getClientRawTableInfoById(int tableId, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getClientRawTableInfoById_call> resultHandler)
           
 void user_getClientRawTableInfoByPath(String tablePath, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getClientRawTableInfoByPath_call> resultHandler)
           
 void user_getFileId(String filePath, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getFileId_call> resultHandler)
           
 void user_getFileLocationsById(int fileId, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getFileLocationsById_call> resultHandler)
           
 void user_getFileLocationsByPath(String filePath, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getFileLocationsByPath_call> resultHandler)
           
 void user_getNumberOfFiles(String path, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getNumberOfFiles_call> resultHandler)
           
 void user_getRawTableId(String path, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getRawTableId_call> resultHandler)
           
 void user_getUnderfsAddress(org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getUnderfsAddress_call> resultHandler)
           
 void user_getUserId(org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getUserId_call> resultHandler)
           
 void user_getWorker(boolean random, String host, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getWorker_call> resultHandler)
           
 void user_listFiles(String path, boolean recursive, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_listFiles_call> resultHandler)
           
 void user_ls(String path, boolean recursive, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_ls_call> resultHandler)
           
 void user_mkdir(String path, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_mkdir_call> resultHandler)
           
 void user_outOfMemoryForPinFile(int fileId, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_outOfMemoryForPinFile_call> resultHandler)
           
 void user_renameFile(String srcFilePath, String dstFilePath, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_renameFile_call> resultHandler)
           
 void user_unpinFile(int fileId, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_unpinFile_call> resultHandler)
           
 void user_updateRawTableMetadata(int tableId, ByteBuffer metadata, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_updateRawTableMetadata_call> resultHandler)
           
 void worker_cacheFile(long workerId, long workerUsedBytes, int fileId, long fileSizeBytes, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.worker_cacheFile_call> resultHandler)
           
 void worker_getPinIdList(org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.worker_getPinIdList_call> resultHandler)
           
 void worker_heartbeat(long workerId, long usedBytes, List<Integer> removedFiles, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.worker_heartbeat_call> resultHandler)
           
 void worker_register(NetAddress workerNetAddress, long totalBytes, long usedBytes, List<Integer> currentFiles, org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.worker_register_call> resultHandler)
           
 

Method Detail

addCheckpoint

void addCheckpoint(long workerId,
                   int fileId,
                   long fileSizeBytes,
                   String checkpointPath,
                   org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.addCheckpoint_call> resultHandler)
                   throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

worker_register

void worker_register(NetAddress workerNetAddress,
                     long totalBytes,
                     long usedBytes,
                     List<Integer> currentFiles,
                     org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.worker_register_call> resultHandler)
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

worker_heartbeat

void worker_heartbeat(long workerId,
                      long usedBytes,
                      List<Integer> removedFiles,
                      org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.worker_heartbeat_call> resultHandler)
                      throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

worker_cacheFile

void worker_cacheFile(long workerId,
                      long workerUsedBytes,
                      int fileId,
                      long fileSizeBytes,
                      org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.worker_cacheFile_call> resultHandler)
                      throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

worker_getPinIdList

void worker_getPinIdList(org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.worker_getPinIdList_call> resultHandler)
                         throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_createFile

void user_createFile(String filePath,
                     org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_createFile_call> resultHandler)
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_getFileId

void user_getFileId(String filePath,
                    org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getFileId_call> resultHandler)
                    throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_getUserId

void user_getUserId(org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getUserId_call> resultHandler)
                    throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_getWorker

void user_getWorker(boolean random,
                    String host,
                    org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getWorker_call> resultHandler)
                    throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_getClientFileInfoById

void user_getClientFileInfoById(int fileId,
                                org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getClientFileInfoById_call> resultHandler)
                                throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_getClientFileInfoByPath

void user_getClientFileInfoByPath(String filePath,
                                  org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getClientFileInfoByPath_call> resultHandler)
                                  throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_getFileLocationsById

void user_getFileLocationsById(int fileId,
                               org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getFileLocationsById_call> resultHandler)
                               throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_getFileLocationsByPath

void user_getFileLocationsByPath(String filePath,
                                 org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getFileLocationsByPath_call> resultHandler)
                                 throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_listFiles

void user_listFiles(String path,
                    boolean recursive,
                    org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_listFiles_call> resultHandler)
                    throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_ls

void user_ls(String path,
             boolean recursive,
             org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_ls_call> resultHandler)
             throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_deleteById

void user_deleteById(int fileId,
                     org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_deleteById_call> resultHandler)
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_deleteByPath

void user_deleteByPath(String path,
                       org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_deleteByPath_call> resultHandler)
                       throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_outOfMemoryForPinFile

void user_outOfMemoryForPinFile(int fileId,
                                org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_outOfMemoryForPinFile_call> resultHandler)
                                throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_renameFile

void user_renameFile(String srcFilePath,
                     String dstFilePath,
                     org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_renameFile_call> resultHandler)
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_unpinFile

void user_unpinFile(int fileId,
                    org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_unpinFile_call> resultHandler)
                    throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_mkdir

void user_mkdir(String path,
                org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_mkdir_call> resultHandler)
                throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_createRawTable

void user_createRawTable(String path,
                         int columns,
                         ByteBuffer metadata,
                         org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_createRawTable_call> resultHandler)
                         throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_getRawTableId

void user_getRawTableId(String path,
                        org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getRawTableId_call> resultHandler)
                        throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_getClientRawTableInfoById

void user_getClientRawTableInfoById(int tableId,
                                    org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getClientRawTableInfoById_call> resultHandler)
                                    throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_getClientRawTableInfoByPath

void user_getClientRawTableInfoByPath(String tablePath,
                                      org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getClientRawTableInfoByPath_call> resultHandler)
                                      throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_updateRawTableMetadata

void user_updateRawTableMetadata(int tableId,
                                 ByteBuffer metadata,
                                 org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_updateRawTableMetadata_call> resultHandler)
                                 throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_getNumberOfFiles

void user_getNumberOfFiles(String path,
                           org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getNumberOfFiles_call> resultHandler)
                           throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

user_getUnderfsAddress

void user_getUnderfsAddress(org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getUnderfsAddress_call> resultHandler)
                            throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

cmd_ls

void cmd_ls(String path,
            org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.cmd_ls_call> resultHandler)
            throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2013. All Rights Reserved.