public static interface WorkerService.Iface
| Modifier and Type | Method and Description |
|---|---|
void |
accessBlock(long blockId) |
void |
addCheckpoint(long userId,
int fileId) |
boolean |
asyncCheckpoint(int fileId) |
void |
cacheBlock(long userId,
long blockId) |
String |
getDataFolder() |
String |
getUserTempFolder(long userId) |
String |
getUserUnderfsTempFolder(long userId) |
void |
lockBlock(long blockId,
long userId) |
boolean |
requestSpace(long userId,
long requestBytes) |
void |
returnSpace(long userId,
long returnedBytes) |
void |
unlockBlock(long blockId,
long userId) |
void |
userHeartbeat(long userId) |
void accessBlock(long blockId)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionvoid addCheckpoint(long userId,
int fileId)
throws FileDoesNotExistException,
SuspectedFileSizeException,
FailedToCheckpointException,
BlockInfoException,
org.apache.thrift.TException
FileDoesNotExistExceptionSuspectedFileSizeExceptionFailedToCheckpointExceptionBlockInfoExceptionorg.apache.thrift.TExceptionboolean asyncCheckpoint(int fileId)
throws TachyonException,
org.apache.thrift.TException
TachyonExceptionorg.apache.thrift.TExceptionvoid cacheBlock(long userId,
long blockId)
throws FileDoesNotExistException,
SuspectedFileSizeException,
BlockInfoException,
org.apache.thrift.TException
FileDoesNotExistExceptionSuspectedFileSizeExceptionBlockInfoExceptionorg.apache.thrift.TExceptionString getDataFolder() throws org.apache.thrift.TException
org.apache.thrift.TExceptionString getUserTempFolder(long userId) throws org.apache.thrift.TException
org.apache.thrift.TExceptionString getUserUnderfsTempFolder(long userId) throws org.apache.thrift.TException
org.apache.thrift.TExceptionvoid lockBlock(long blockId,
long userId)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionvoid returnSpace(long userId,
long returnedBytes)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionboolean requestSpace(long userId,
long requestBytes)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionvoid unlockBlock(long blockId,
long userId)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionvoid userHeartbeat(long userId)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2014. All rights reserved.