@NotThreadSafe public final class BlockMasterClientServiceHandler extends Object implements BlockMasterClientService.Iface
Modifier and Type | Method and Description |
---|---|
GetBlockInfoTResponse |
getBlockInfo(long blockId,
GetBlockInfoTOptions options)
Returns the block information for the given block id.
|
GetBlockMasterInfoTResponse |
getBlockMasterInfo(GetBlockMasterInfoTOptions options)
Returns block master information.
|
GetCapacityBytesTResponse |
getCapacityBytes(GetCapacityBytesTOptions options)
Returns the capacity (in bytes).
|
GetServiceVersionTResponse |
getServiceVersion(GetServiceVersionTOptions options)
Returns the version of the master service.
|
GetUsedBytesTResponse |
getUsedBytes(GetUsedBytesTOptions options)
Returns the used storage (in bytes).
|
GetWorkerInfoListTResponse |
getWorkerInfoList(GetWorkerInfoListTOptions options)
Returns a list of workers information.
|
GetWorkerInfoListTResponse |
getWorkerReport(GetWorkerReportTOptions options)
Returns a list of workers information for report CLI.
|
public GetServiceVersionTResponse getServiceVersion(GetServiceVersionTOptions options)
AlluxioService.Iface
getServiceVersion
in interface AlluxioService.Iface
options
- the method optionspublic GetCapacityBytesTResponse getCapacityBytes(GetCapacityBytesTOptions options) throws AlluxioTException
BlockMasterClientService.Iface
getCapacityBytes
in interface BlockMasterClientService.Iface
options
- the method optionsAlluxioTException
public GetUsedBytesTResponse getUsedBytes(GetUsedBytesTOptions options) throws AlluxioTException
BlockMasterClientService.Iface
getUsedBytes
in interface BlockMasterClientService.Iface
options
- the method optionsAlluxioTException
public GetBlockInfoTResponse getBlockInfo(long blockId, GetBlockInfoTOptions options) throws AlluxioTException
BlockMasterClientService.Iface
getBlockInfo
in interface BlockMasterClientService.Iface
blockId
- the id of the blockoptions
- the method optionsAlluxioTException
public GetBlockMasterInfoTResponse getBlockMasterInfo(GetBlockMasterInfoTOptions options) throws org.apache.thrift.TException
BlockMasterClientService.Iface
getBlockMasterInfo
in interface BlockMasterClientService.Iface
options
- the method optionsorg.apache.thrift.TException
public GetWorkerInfoListTResponse getWorkerInfoList(GetWorkerInfoListTOptions options) throws AlluxioTException
BlockMasterClientService.Iface
getWorkerInfoList
in interface BlockMasterClientService.Iface
options
- the method optionsAlluxioTException
public GetWorkerInfoListTResponse getWorkerReport(GetWorkerReportTOptions options) throws AlluxioTException
BlockMasterClientService.Iface
getWorkerReport
in interface BlockMasterClientService.Iface
options
- the method optionsAlluxioTException
Copyright © 2023. All Rights Reserved.