tachyon.thrift
Class MasterService.AsyncClient

java.lang.Object
  extended by org.apache.thrift.async.TAsyncClient
      extended by tachyon.thrift.MasterService.AsyncClient
All Implemented Interfaces:
MasterService.AsyncIface
Enclosing class:
MasterService

public static class MasterService.AsyncClient
extends org.apache.thrift.async.TAsyncClient
implements MasterService.AsyncIface


Nested Class Summary
static class MasterService.AsyncClient.addCheckpoint_call
           
static class MasterService.AsyncClient.cmd_ls_call
           
static class MasterService.AsyncClient.Factory
           
static class MasterService.AsyncClient.user_createFile_call
           
static class MasterService.AsyncClient.user_createRawTable_call
           
static class MasterService.AsyncClient.user_deleteById_call
           
static class MasterService.AsyncClient.user_deleteByPath_call
           
static class MasterService.AsyncClient.user_getClientFileInfoById_call
           
static class MasterService.AsyncClient.user_getClientFileInfoByPath_call
           
static class MasterService.AsyncClient.user_getClientRawTableInfoById_call
           
static class MasterService.AsyncClient.user_getClientRawTableInfoByPath_call
           
static class MasterService.AsyncClient.user_getFileId_call
           
static class MasterService.AsyncClient.user_getFileLocationsById_call
           
static class MasterService.AsyncClient.user_getFileLocationsByPath_call
           
static class MasterService.AsyncClient.user_getNumberOfFiles_call
           
static class MasterService.AsyncClient.user_getRawTableId_call
           
static class MasterService.AsyncClient.user_getUnderfsAddress_call
           
static class MasterService.AsyncClient.user_getUserId_call
           
static class MasterService.AsyncClient.user_getWorker_call
           
static class MasterService.AsyncClient.user_listFiles_call
           
static class MasterService.AsyncClient.user_ls_call
           
static class MasterService.AsyncClient.user_mkdir_call
           
static class MasterService.AsyncClient.user_outOfMemoryForPinFile_call
           
static class MasterService.AsyncClient.user_renameFile_call
           
static class MasterService.AsyncClient.user_unpinFile_call
           
static class MasterService.AsyncClient.user_updateRawTableMetadata_call
           
static class MasterService.AsyncClient.worker_cacheFile_call
           
static class MasterService.AsyncClient.worker_getPinIdList_call
           
static class MasterService.AsyncClient.worker_heartbeat_call
           
static class MasterService.AsyncClient.worker_register_call
           
 
Field Summary
 
Fields inherited from class org.apache.thrift.async.TAsyncClient
___currentMethod, ___manager, ___protocolFactory, ___transport
 
Constructor Summary
MasterService.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
           
 
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)
           
 
Methods inherited from class org.apache.thrift.async.TAsyncClient
checkReady, getError, getProtocolFactory, getTimeout, hasError, hasTimeout, onComplete, onError, setTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MasterService.AsyncClient

public MasterService.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
                                 org.apache.thrift.async.TAsyncClientManager clientManager,
                                 org.apache.thrift.transport.TNonblockingTransport transport)
Method Detail

addCheckpoint

public 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
Specified by:
addCheckpoint in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

worker_register

public 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
Specified by:
worker_register in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

worker_heartbeat

public 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
Specified by:
worker_heartbeat in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

worker_cacheFile

public 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
Specified by:
worker_cacheFile in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

worker_getPinIdList

public void worker_getPinIdList(org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.worker_getPinIdList_call> resultHandler)
                         throws org.apache.thrift.TException
Specified by:
worker_getPinIdList in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

user_createFile

public void user_createFile(String filePath,
                            org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_createFile_call> resultHandler)
                     throws org.apache.thrift.TException
Specified by:
user_createFile in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

user_getFileId

public void user_getFileId(String filePath,
                           org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getFileId_call> resultHandler)
                    throws org.apache.thrift.TException
Specified by:
user_getFileId in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

user_getUserId

public void user_getUserId(org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getUserId_call> resultHandler)
                    throws org.apache.thrift.TException
Specified by:
user_getUserId in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

user_getWorker

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

user_getClientFileInfoById

public void user_getClientFileInfoById(int fileId,
                                       org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getClientFileInfoById_call> resultHandler)
                                throws org.apache.thrift.TException
Specified by:
user_getClientFileInfoById in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

user_getClientFileInfoByPath

public void user_getClientFileInfoByPath(String filePath,
                                         org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getClientFileInfoByPath_call> resultHandler)
                                  throws org.apache.thrift.TException
Specified by:
user_getClientFileInfoByPath in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

user_getFileLocationsById

public void user_getFileLocationsById(int fileId,
                                      org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getFileLocationsById_call> resultHandler)
                               throws org.apache.thrift.TException
Specified by:
user_getFileLocationsById in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

user_getFileLocationsByPath

public void user_getFileLocationsByPath(String filePath,
                                        org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getFileLocationsByPath_call> resultHandler)
                                 throws org.apache.thrift.TException
Specified by:
user_getFileLocationsByPath in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

user_listFiles

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

user_ls

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

user_deleteById

public void user_deleteById(int fileId,
                            org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_deleteById_call> resultHandler)
                     throws org.apache.thrift.TException
Specified by:
user_deleteById in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

user_deleteByPath

public void user_deleteByPath(String path,
                              org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_deleteByPath_call> resultHandler)
                       throws org.apache.thrift.TException
Specified by:
user_deleteByPath in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

user_outOfMemoryForPinFile

public void user_outOfMemoryForPinFile(int fileId,
                                       org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_outOfMemoryForPinFile_call> resultHandler)
                                throws org.apache.thrift.TException
Specified by:
user_outOfMemoryForPinFile in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

user_renameFile

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

user_unpinFile

public void user_unpinFile(int fileId,
                           org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_unpinFile_call> resultHandler)
                    throws org.apache.thrift.TException
Specified by:
user_unpinFile in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

user_mkdir

public void user_mkdir(String path,
                       org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_mkdir_call> resultHandler)
                throws org.apache.thrift.TException
Specified by:
user_mkdir in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

user_createRawTable

public 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
Specified by:
user_createRawTable in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

user_getRawTableId

public void user_getRawTableId(String path,
                               org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getRawTableId_call> resultHandler)
                        throws org.apache.thrift.TException
Specified by:
user_getRawTableId in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

user_getClientRawTableInfoById

public void user_getClientRawTableInfoById(int tableId,
                                           org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getClientRawTableInfoById_call> resultHandler)
                                    throws org.apache.thrift.TException
Specified by:
user_getClientRawTableInfoById in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

user_getClientRawTableInfoByPath

public void user_getClientRawTableInfoByPath(String tablePath,
                                             org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getClientRawTableInfoByPath_call> resultHandler)
                                      throws org.apache.thrift.TException
Specified by:
user_getClientRawTableInfoByPath in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

user_updateRawTableMetadata

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

user_getNumberOfFiles

public void user_getNumberOfFiles(String path,
                                  org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getNumberOfFiles_call> resultHandler)
                           throws org.apache.thrift.TException
Specified by:
user_getNumberOfFiles in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

user_getUnderfsAddress

public void user_getUnderfsAddress(org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.user_getUnderfsAddress_call> resultHandler)
                            throws org.apache.thrift.TException
Specified by:
user_getUnderfsAddress in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException

cmd_ls

public void cmd_ls(String path,
                   org.apache.thrift.async.AsyncMethodCallback<MasterService.AsyncClient.cmd_ls_call> resultHandler)
            throws org.apache.thrift.TException
Specified by:
cmd_ls in interface MasterService.AsyncIface
Throws:
org.apache.thrift.TException


Copyright © 2013. All Rights Reserved.