tachyon.thrift
Class WorkerService.Client

java.lang.Object
  extended by org.apache.thrift.TServiceClient
      extended by tachyon.thrift.WorkerService.Client
All Implemented Interfaces:
WorkerService.Iface
Enclosing class:
WorkerService

public static class WorkerService.Client
extends org.apache.thrift.TServiceClient
implements WorkerService.Iface


Nested Class Summary
static class WorkerService.Client.Factory
           
 
Field Summary
 
Fields inherited from class org.apache.thrift.TServiceClient
iprot_, oprot_, seqid_
 
Constructor Summary
WorkerService.Client(org.apache.thrift.protocol.TProtocol prot)
           
WorkerService.Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
           
 
Method Summary
 void accessFile(int fileId)
           
 void addCheckpoint(long userId, int fileId)
           
 void cacheFile(long userId, int fileId)
           
 String getDataFolder()
           
 String getUserTempFolder(long userId)
           
 String getUserUnderfsTempFolder(long userId)
           
 void lockFile(int fileId, long userId)
           
 void recv_accessFile()
           
 void recv_addCheckpoint()
           
 void recv_cacheFile()
           
 String recv_getDataFolder()
           
 String recv_getUserTempFolder()
           
 String recv_getUserUnderfsTempFolder()
           
 void recv_lockFile()
           
 boolean recv_requestSpace()
           
 void recv_returnSpace()
           
 void recv_unlockFile()
           
 void recv_userHeartbeat()
           
 boolean requestSpace(long userId, long requestBytes)
           
 void returnSpace(long userId, long returnedBytes)
           
 void send_accessFile(int fileId)
           
 void send_addCheckpoint(long userId, int fileId)
           
 void send_cacheFile(long userId, int fileId)
           
 void send_getDataFolder()
           
 void send_getUserTempFolder(long userId)
           
 void send_getUserUnderfsTempFolder(long userId)
           
 void send_lockFile(int fileId, long userId)
           
 void send_requestSpace(long userId, long requestBytes)
           
 void send_returnSpace(long userId, long returnedBytes)
           
 void send_unlockFile(int fileId, long userId)
           
 void send_userHeartbeat(long userId)
           
 void unlockFile(int fileId, long userId)
           
 void userHeartbeat(long userId)
           
 
Methods inherited from class org.apache.thrift.TServiceClient
getInputProtocol, getOutputProtocol, receiveBase, sendBase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkerService.Client

public WorkerService.Client(org.apache.thrift.protocol.TProtocol prot)

WorkerService.Client

public WorkerService.Client(org.apache.thrift.protocol.TProtocol iprot,
                            org.apache.thrift.protocol.TProtocol oprot)
Method Detail

accessFile

public void accessFile(int fileId)
                throws org.apache.thrift.TException
Specified by:
accessFile in interface WorkerService.Iface
Throws:
org.apache.thrift.TException

send_accessFile

public void send_accessFile(int fileId)
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_accessFile

public void recv_accessFile()
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

addCheckpoint

public void addCheckpoint(long userId,
                          int fileId)
                   throws FileDoesNotExistException,
                          SuspectedFileSizeException,
                          FailedToCheckpointException,
                          org.apache.thrift.TException
Specified by:
addCheckpoint in interface WorkerService.Iface
Throws:
FileDoesNotExistException
SuspectedFileSizeException
FailedToCheckpointException
org.apache.thrift.TException

send_addCheckpoint

public void send_addCheckpoint(long userId,
                               int fileId)
                        throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_addCheckpoint

public void recv_addCheckpoint()
                        throws FileDoesNotExistException,
                               SuspectedFileSizeException,
                               FailedToCheckpointException,
                               org.apache.thrift.TException
Throws:
FileDoesNotExistException
SuspectedFileSizeException
FailedToCheckpointException
org.apache.thrift.TException

cacheFile

public void cacheFile(long userId,
                      int fileId)
               throws FileDoesNotExistException,
                      SuspectedFileSizeException,
                      org.apache.thrift.TException
Specified by:
cacheFile in interface WorkerService.Iface
Throws:
FileDoesNotExistException
SuspectedFileSizeException
org.apache.thrift.TException

send_cacheFile

public void send_cacheFile(long userId,
                           int fileId)
                    throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_cacheFile

public void recv_cacheFile()
                    throws FileDoesNotExistException,
                           SuspectedFileSizeException,
                           org.apache.thrift.TException
Throws:
FileDoesNotExistException
SuspectedFileSizeException
org.apache.thrift.TException

getDataFolder

public String getDataFolder()
                     throws org.apache.thrift.TException
Specified by:
getDataFolder in interface WorkerService.Iface
Throws:
org.apache.thrift.TException

send_getDataFolder

public void send_getDataFolder()
                        throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_getDataFolder

public String recv_getDataFolder()
                          throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

getUserTempFolder

public String getUserTempFolder(long userId)
                         throws org.apache.thrift.TException
Specified by:
getUserTempFolder in interface WorkerService.Iface
Throws:
org.apache.thrift.TException

send_getUserTempFolder

public void send_getUserTempFolder(long userId)
                            throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_getUserTempFolder

public String recv_getUserTempFolder()
                              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

getUserUnderfsTempFolder

public String getUserUnderfsTempFolder(long userId)
                                throws org.apache.thrift.TException
Specified by:
getUserUnderfsTempFolder in interface WorkerService.Iface
Throws:
org.apache.thrift.TException

send_getUserUnderfsTempFolder

public void send_getUserUnderfsTempFolder(long userId)
                                   throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_getUserUnderfsTempFolder

public String recv_getUserUnderfsTempFolder()
                                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

lockFile

public void lockFile(int fileId,
                     long userId)
              throws org.apache.thrift.TException
Specified by:
lockFile in interface WorkerService.Iface
Throws:
org.apache.thrift.TException

send_lockFile

public void send_lockFile(int fileId,
                          long userId)
                   throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_lockFile

public void recv_lockFile()
                   throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

returnSpace

public void returnSpace(long userId,
                        long returnedBytes)
                 throws org.apache.thrift.TException
Specified by:
returnSpace in interface WorkerService.Iface
Throws:
org.apache.thrift.TException

send_returnSpace

public void send_returnSpace(long userId,
                             long returnedBytes)
                      throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_returnSpace

public void recv_returnSpace()
                      throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

requestSpace

public boolean requestSpace(long userId,
                            long requestBytes)
                     throws org.apache.thrift.TException
Specified by:
requestSpace in interface WorkerService.Iface
Throws:
org.apache.thrift.TException

send_requestSpace

public void send_requestSpace(long userId,
                              long requestBytes)
                       throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_requestSpace

public boolean recv_requestSpace()
                          throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

unlockFile

public void unlockFile(int fileId,
                       long userId)
                throws org.apache.thrift.TException
Specified by:
unlockFile in interface WorkerService.Iface
Throws:
org.apache.thrift.TException

send_unlockFile

public void send_unlockFile(int fileId,
                            long userId)
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_unlockFile

public void recv_unlockFile()
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

userHeartbeat

public void userHeartbeat(long userId)
                   throws org.apache.thrift.TException
Specified by:
userHeartbeat in interface WorkerService.Iface
Throws:
org.apache.thrift.TException

send_userHeartbeat

public void send_userHeartbeat(long userId)
                        throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_userHeartbeat

public void recv_userHeartbeat()
                        throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2013. All Rights Reserved.