public static interface BlockMasterService.Iface
| Modifier and Type | Method and Description |
|---|---|
BlockInfo |
getBlockInfo(long blockId) |
long |
getCapacityBytes() |
long |
getUsedBytes() |
List<WorkerInfo> |
getWorkerInfoList() |
void |
workerCommitBlock(long workerId,
long usedBytesOnTier,
int tier,
long blockId,
long length) |
long |
workerGetWorkerId(NetAddress workerNetAddress) |
Command |
workerHeartbeat(long workerId,
List<Long> usedBytesOnTiers,
List<Long> removedBlockIds,
Map<Long,List<Long>> addedBlocksOnTiers) |
void |
workerRegister(long workerId,
List<Long> totalBytesOnTiers,
List<Long> usedBytesOnTiers,
Map<Long,List<Long>> currentBlocksOnTiers) |
BlockInfo getBlockInfo(long blockId) throws TachyonTException, org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionlong getCapacityBytes()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionlong getUsedBytes()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionList<WorkerInfo> getWorkerInfoList() throws org.apache.thrift.TException
org.apache.thrift.TExceptionvoid workerCommitBlock(long workerId,
long usedBytesOnTier,
int tier,
long blockId,
long length)
throws TachyonTException,
org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionlong workerGetWorkerId(NetAddress workerNetAddress) throws org.apache.thrift.TException
org.apache.thrift.TExceptionCommand workerHeartbeat(long workerId, List<Long> usedBytesOnTiers, List<Long> removedBlockIds, Map<Long,List<Long>> addedBlocksOnTiers) throws TachyonTException, org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionvoid workerRegister(long workerId,
List<Long> totalBytesOnTiers,
List<Long> usedBytesOnTiers,
Map<Long,List<Long>> currentBlocksOnTiers)
throws TachyonTException,
org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionCopyright © 2015. All Rights Reserved.