tachyon.thrift
Class WorkerService.AsyncClient

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

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


Nested Class Summary
static class WorkerService.AsyncClient.accessFile_call
           
static class WorkerService.AsyncClient.addCheckpoint_call
           
static class WorkerService.AsyncClient.cacheFile_call
           
static class WorkerService.AsyncClient.Factory
           
static class WorkerService.AsyncClient.getDataFolder_call
           
static class WorkerService.AsyncClient.getUserTempFolder_call
           
static class WorkerService.AsyncClient.getUserUnderfsTempFolder_call
           
static class WorkerService.AsyncClient.lockFile_call
           
static class WorkerService.AsyncClient.requestSpace_call
           
static class WorkerService.AsyncClient.returnSpace_call
           
static class WorkerService.AsyncClient.unlockFile_call
           
static class WorkerService.AsyncClient.userHeartbeat_call
           
 
Field Summary
 
Fields inherited from class org.apache.thrift.async.TAsyncClient
___currentMethod, ___manager, ___protocolFactory, ___transport
 
Constructor Summary
WorkerService.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
           
 
Method Summary
 void accessFile(int fileId, org.apache.thrift.async.AsyncMethodCallback<WorkerService.AsyncClient.accessFile_call> resultHandler)
           
 void addCheckpoint(long userId, int fileId, org.apache.thrift.async.AsyncMethodCallback<WorkerService.AsyncClient.addCheckpoint_call> resultHandler)
           
 void cacheFile(long userId, int fileId, org.apache.thrift.async.AsyncMethodCallback<WorkerService.AsyncClient.cacheFile_call> resultHandler)
           
 void getDataFolder(org.apache.thrift.async.AsyncMethodCallback<WorkerService.AsyncClient.getDataFolder_call> resultHandler)
           
 void getUserTempFolder(long userId, org.apache.thrift.async.AsyncMethodCallback<WorkerService.AsyncClient.getUserTempFolder_call> resultHandler)
           
 void getUserUnderfsTempFolder(long userId, org.apache.thrift.async.AsyncMethodCallback<WorkerService.AsyncClient.getUserUnderfsTempFolder_call> resultHandler)
           
 void lockFile(int fileId, long userId, org.apache.thrift.async.AsyncMethodCallback<WorkerService.AsyncClient.lockFile_call> resultHandler)
           
 void requestSpace(long userId, long requestBytes, org.apache.thrift.async.AsyncMethodCallback<WorkerService.AsyncClient.requestSpace_call> resultHandler)
           
 void returnSpace(long userId, long returnedBytes, org.apache.thrift.async.AsyncMethodCallback<WorkerService.AsyncClient.returnSpace_call> resultHandler)
           
 void unlockFile(int fileId, long userId, org.apache.thrift.async.AsyncMethodCallback<WorkerService.AsyncClient.unlockFile_call> resultHandler)
           
 void userHeartbeat(long userId, org.apache.thrift.async.AsyncMethodCallback<WorkerService.AsyncClient.userHeartbeat_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

WorkerService.AsyncClient

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

accessFile

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

addCheckpoint

public void addCheckpoint(long userId,
                          int fileId,
                          org.apache.thrift.async.AsyncMethodCallback<WorkerService.AsyncClient.addCheckpoint_call> resultHandler)
                   throws org.apache.thrift.TException
Specified by:
addCheckpoint in interface WorkerService.AsyncIface
Throws:
org.apache.thrift.TException

cacheFile

public void cacheFile(long userId,
                      int fileId,
                      org.apache.thrift.async.AsyncMethodCallback<WorkerService.AsyncClient.cacheFile_call> resultHandler)
               throws org.apache.thrift.TException
Specified by:
cacheFile in interface WorkerService.AsyncIface
Throws:
org.apache.thrift.TException

getDataFolder

public void getDataFolder(org.apache.thrift.async.AsyncMethodCallback<WorkerService.AsyncClient.getDataFolder_call> resultHandler)
                   throws org.apache.thrift.TException
Specified by:
getDataFolder in interface WorkerService.AsyncIface
Throws:
org.apache.thrift.TException

getUserTempFolder

public void getUserTempFolder(long userId,
                              org.apache.thrift.async.AsyncMethodCallback<WorkerService.AsyncClient.getUserTempFolder_call> resultHandler)
                       throws org.apache.thrift.TException
Specified by:
getUserTempFolder in interface WorkerService.AsyncIface
Throws:
org.apache.thrift.TException

getUserUnderfsTempFolder

public void getUserUnderfsTempFolder(long userId,
                                     org.apache.thrift.async.AsyncMethodCallback<WorkerService.AsyncClient.getUserUnderfsTempFolder_call> resultHandler)
                              throws org.apache.thrift.TException
Specified by:
getUserUnderfsTempFolder in interface WorkerService.AsyncIface
Throws:
org.apache.thrift.TException

lockFile

public void lockFile(int fileId,
                     long userId,
                     org.apache.thrift.async.AsyncMethodCallback<WorkerService.AsyncClient.lockFile_call> resultHandler)
              throws org.apache.thrift.TException
Specified by:
lockFile in interface WorkerService.AsyncIface
Throws:
org.apache.thrift.TException

returnSpace

public void returnSpace(long userId,
                        long returnedBytes,
                        org.apache.thrift.async.AsyncMethodCallback<WorkerService.AsyncClient.returnSpace_call> resultHandler)
                 throws org.apache.thrift.TException
Specified by:
returnSpace in interface WorkerService.AsyncIface
Throws:
org.apache.thrift.TException

requestSpace

public void requestSpace(long userId,
                         long requestBytes,
                         org.apache.thrift.async.AsyncMethodCallback<WorkerService.AsyncClient.requestSpace_call> resultHandler)
                  throws org.apache.thrift.TException
Specified by:
requestSpace in interface WorkerService.AsyncIface
Throws:
org.apache.thrift.TException

unlockFile

public void unlockFile(int fileId,
                       long userId,
                       org.apache.thrift.async.AsyncMethodCallback<WorkerService.AsyncClient.unlockFile_call> resultHandler)
                throws org.apache.thrift.TException
Specified by:
unlockFile in interface WorkerService.AsyncIface
Throws:
org.apache.thrift.TException

userHeartbeat

public void userHeartbeat(long userId,
                          org.apache.thrift.async.AsyncMethodCallback<WorkerService.AsyncClient.userHeartbeat_call> resultHandler)
                   throws org.apache.thrift.TException
Specified by:
userHeartbeat in interface WorkerService.AsyncIface
Throws:
org.apache.thrift.TException


Copyright © 2013. All Rights Reserved.