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.TException
void addCheckpoint(long userId, int fileId) throws FileDoesNotExistException, SuspectedFileSizeException, FailedToCheckpointException, BlockInfoException, org.apache.thrift.TException
FileDoesNotExistException
SuspectedFileSizeException
FailedToCheckpointException
BlockInfoException
org.apache.thrift.TException
boolean asyncCheckpoint(int fileId) throws TachyonException, org.apache.thrift.TException
TachyonException
org.apache.thrift.TException
void cacheBlock(long userId, long blockId) throws FileDoesNotExistException, SuspectedFileSizeException, BlockInfoException, org.apache.thrift.TException
FileDoesNotExistException
SuspectedFileSizeException
BlockInfoException
org.apache.thrift.TException
String getDataFolder() throws org.apache.thrift.TException
org.apache.thrift.TException
String getUserTempFolder(long userId) throws org.apache.thrift.TException
org.apache.thrift.TException
String getUserUnderfsTempFolder(long userId) throws org.apache.thrift.TException
org.apache.thrift.TException
void lockBlock(long blockId, long userId) throws org.apache.thrift.TException
org.apache.thrift.TException
void returnSpace(long userId, long returnedBytes) throws org.apache.thrift.TException
org.apache.thrift.TException
boolean requestSpace(long userId, long requestBytes) throws org.apache.thrift.TException
org.apache.thrift.TException
void unlockBlock(long blockId, long userId) throws org.apache.thrift.TException
org.apache.thrift.TException
void userHeartbeat(long userId) throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2014. All rights reserved.