public static class BlockMasterService.Client extends org.apache.thrift.TServiceClient implements BlockMasterService.Iface
| Modifier and Type | Class and Description |
|---|---|
static class |
BlockMasterService.Client.Factory |
| Constructor and Description |
|---|
BlockMasterService.Client(org.apache.thrift.protocol.TProtocol prot) |
BlockMasterService.Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot) |
| Modifier and Type | Method and Description |
|---|---|
BlockInfo |
getBlockInfo(long blockId) |
long |
getCapacityBytes() |
long |
getUsedBytes() |
List<WorkerInfo> |
getWorkerInfoList() |
BlockInfo |
recv_getBlockInfo() |
long |
recv_getCapacityBytes() |
long |
recv_getUsedBytes() |
List<WorkerInfo> |
recv_getWorkerInfoList() |
void |
recv_workerCommitBlock() |
long |
recv_workerGetWorkerId() |
Command |
recv_workerHeartbeat() |
void |
recv_workerRegister() |
void |
send_getBlockInfo(long blockId) |
void |
send_getCapacityBytes() |
void |
send_getUsedBytes() |
void |
send_getWorkerInfoList() |
void |
send_workerCommitBlock(long workerId,
long usedBytesOnTier,
int tier,
long blockId,
long length) |
void |
send_workerGetWorkerId(NetAddress workerNetAddress) |
void |
send_workerHeartbeat(long workerId,
List<Long> usedBytesOnTiers,
List<Long> removedBlockIds,
Map<Long,List<Long>> addedBlocksOnTiers) |
void |
send_workerRegister(long workerId,
List<Long> totalBytesOnTiers,
List<Long> usedBytesOnTiers,
Map<Long,List<Long>> currentBlocksOnTiers) |
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) |
public BlockMasterService.Client(org.apache.thrift.protocol.TProtocol prot)
public BlockMasterService.Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot)
public BlockInfo getBlockInfo(long blockId) throws TachyonTException, org.apache.thrift.TException
getBlockInfo in interface BlockMasterService.IfaceTachyonTExceptionorg.apache.thrift.TExceptionpublic void send_getBlockInfo(long blockId)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic BlockInfo recv_getBlockInfo() throws TachyonTException, org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionpublic long getCapacityBytes()
throws org.apache.thrift.TException
getCapacityBytes in interface BlockMasterService.Ifaceorg.apache.thrift.TExceptionpublic void send_getCapacityBytes()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic long recv_getCapacityBytes()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic long getUsedBytes()
throws org.apache.thrift.TException
getUsedBytes in interface BlockMasterService.Ifaceorg.apache.thrift.TExceptionpublic void send_getUsedBytes()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic long recv_getUsedBytes()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic List<WorkerInfo> getWorkerInfoList() throws org.apache.thrift.TException
getWorkerInfoList in interface BlockMasterService.Ifaceorg.apache.thrift.TExceptionpublic void send_getWorkerInfoList()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic List<WorkerInfo> recv_getWorkerInfoList() throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void workerCommitBlock(long workerId,
long usedBytesOnTier,
int tier,
long blockId,
long length)
throws TachyonTException,
org.apache.thrift.TException
workerCommitBlock in interface BlockMasterService.IfaceTachyonTExceptionorg.apache.thrift.TExceptionpublic void send_workerCommitBlock(long workerId,
long usedBytesOnTier,
int tier,
long blockId,
long length)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_workerCommitBlock()
throws TachyonTException,
org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionpublic long workerGetWorkerId(NetAddress workerNetAddress) throws org.apache.thrift.TException
workerGetWorkerId in interface BlockMasterService.Ifaceorg.apache.thrift.TExceptionpublic void send_workerGetWorkerId(NetAddress workerNetAddress) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic long recv_workerGetWorkerId()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic Command workerHeartbeat(long workerId, List<Long> usedBytesOnTiers, List<Long> removedBlockIds, Map<Long,List<Long>> addedBlocksOnTiers) throws TachyonTException, org.apache.thrift.TException
workerHeartbeat in interface BlockMasterService.IfaceTachyonTExceptionorg.apache.thrift.TExceptionpublic void send_workerHeartbeat(long workerId,
List<Long> usedBytesOnTiers,
List<Long> removedBlockIds,
Map<Long,List<Long>> addedBlocksOnTiers)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic Command recv_workerHeartbeat() throws TachyonTException, org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionpublic void workerRegister(long workerId,
List<Long> totalBytesOnTiers,
List<Long> usedBytesOnTiers,
Map<Long,List<Long>> currentBlocksOnTiers)
throws TachyonTException,
org.apache.thrift.TException
workerRegister in interface BlockMasterService.IfaceTachyonTExceptionorg.apache.thrift.TExceptionpublic void send_workerRegister(long workerId,
List<Long> totalBytesOnTiers,
List<Long> usedBytesOnTiers,
Map<Long,List<Long>> currentBlocksOnTiers)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_workerRegister()
throws TachyonTException,
org.apache.thrift.TException
TachyonTExceptionorg.apache.thrift.TExceptionCopyright © 2015. All Rights Reserved.