public static class BlockMasterService.AsyncClient extends org.apache.thrift.async.TAsyncClient implements BlockMasterService.AsyncIface
| Modifier and Type | Class and Description |
|---|---|
static class |
BlockMasterService.AsyncClient.Factory |
static class |
BlockMasterService.AsyncClient.getBlockInfo_call |
static class |
BlockMasterService.AsyncClient.getCapacityBytes_call |
static class |
BlockMasterService.AsyncClient.getUsedBytes_call |
static class |
BlockMasterService.AsyncClient.getWorkerInfoList_call |
static class |
BlockMasterService.AsyncClient.workerCommitBlock_call |
static class |
BlockMasterService.AsyncClient.workerGetWorkerId_call |
static class |
BlockMasterService.AsyncClient.workerHeartbeat_call |
static class |
BlockMasterService.AsyncClient.workerRegister_call |
| Constructor and Description |
|---|
BlockMasterService.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport) |
| Modifier and Type | Method and Description |
|---|---|
void |
getBlockInfo(long blockId,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getCapacityBytes(org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getUsedBytes(org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getWorkerInfoList(org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
workerCommitBlock(long workerId,
long usedBytesOnTier,
int tier,
long blockId,
long length,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
workerGetWorkerId(NetAddress workerNetAddress,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
workerHeartbeat(long workerId,
List<Long> usedBytesOnTiers,
List<Long> removedBlockIds,
Map<Long,List<Long>> addedBlocksOnTiers,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
workerRegister(long workerId,
List<Long> totalBytesOnTiers,
List<Long> usedBytesOnTiers,
Map<Long,List<Long>> currentBlocksOnTiers,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
public BlockMasterService.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport)
public void getBlockInfo(long blockId,
org.apache.thrift.async.AsyncMethodCallback resultHandler)
throws org.apache.thrift.TException
getBlockInfo in interface BlockMasterService.AsyncIfaceorg.apache.thrift.TExceptionpublic void getCapacityBytes(org.apache.thrift.async.AsyncMethodCallback resultHandler)
throws org.apache.thrift.TException
getCapacityBytes in interface BlockMasterService.AsyncIfaceorg.apache.thrift.TExceptionpublic void getUsedBytes(org.apache.thrift.async.AsyncMethodCallback resultHandler)
throws org.apache.thrift.TException
getUsedBytes in interface BlockMasterService.AsyncIfaceorg.apache.thrift.TExceptionpublic void getWorkerInfoList(org.apache.thrift.async.AsyncMethodCallback resultHandler)
throws org.apache.thrift.TException
getWorkerInfoList in interface BlockMasterService.AsyncIfaceorg.apache.thrift.TExceptionpublic void workerCommitBlock(long workerId,
long usedBytesOnTier,
int tier,
long blockId,
long length,
org.apache.thrift.async.AsyncMethodCallback resultHandler)
throws org.apache.thrift.TException
workerCommitBlock in interface BlockMasterService.AsyncIfaceorg.apache.thrift.TExceptionpublic void workerGetWorkerId(NetAddress workerNetAddress, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
workerGetWorkerId in interface BlockMasterService.AsyncIfaceorg.apache.thrift.TExceptionpublic void workerHeartbeat(long workerId,
List<Long> usedBytesOnTiers,
List<Long> removedBlockIds,
Map<Long,List<Long>> addedBlocksOnTiers,
org.apache.thrift.async.AsyncMethodCallback resultHandler)
throws org.apache.thrift.TException
workerHeartbeat in interface BlockMasterService.AsyncIfaceorg.apache.thrift.TExceptionpublic void workerRegister(long workerId,
List<Long> totalBytesOnTiers,
List<Long> usedBytesOnTiers,
Map<Long,List<Long>> currentBlocksOnTiers,
org.apache.thrift.async.AsyncMethodCallback resultHandler)
throws org.apache.thrift.TException
workerRegister in interface BlockMasterService.AsyncIfaceorg.apache.thrift.TExceptionCopyright © 2015. All Rights Reserved.