tachyon.thrift
Interface WorkerService.Iface
- All Known Implementing Classes:
- WorkerService.Client, WorkerServiceHandler
- Enclosing class:
- WorkerService
public static interface WorkerService.Iface
accessFile
void accessFile(int fileId)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
addCheckpoint
void addCheckpoint(long userId,
int fileId)
throws FileDoesNotExistException,
SuspectedFileSizeException,
FailedToCheckpointException,
org.apache.thrift.TException
- Throws:
FileDoesNotExistException
SuspectedFileSizeException
FailedToCheckpointException
org.apache.thrift.TException
cacheFile
void cacheFile(long userId,
int fileId)
throws FileDoesNotExistException,
SuspectedFileSizeException,
org.apache.thrift.TException
- Throws:
FileDoesNotExistException
SuspectedFileSizeException
org.apache.thrift.TException
getDataFolder
String getDataFolder()
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
getUserTempFolder
String getUserTempFolder(long userId)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
getUserUnderfsTempFolder
String getUserUnderfsTempFolder(long userId)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
lockFile
void lockFile(int fileId,
long userId)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
returnSpace
void returnSpace(long userId,
long returnedBytes)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
requestSpace
boolean requestSpace(long userId,
long requestBytes)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
unlockFile
void unlockFile(int fileId,
long userId)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
userHeartbeat
void userHeartbeat(long userId)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
Copyright © 2013. All Rights Reserved.