public static final class BlockMasterClientServiceGrpc.BlockMasterClientServiceStub extends io.grpc.stub.AbstractAsyncStub<BlockMasterClientServiceGrpc.BlockMasterClientServiceStub>
This interface contains block master service endpoints for Alluxio clients.
Modifier and Type | Method and Description |
---|---|
protected BlockMasterClientServiceGrpc.BlockMasterClientServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
getBlockInfo(GetBlockInfoPRequest request,
io.grpc.stub.StreamObserver<GetBlockInfoPResponse> responseObserver)
Returns the block information for the given block id.
|
void |
getBlockMasterInfo(GetBlockMasterInfoPOptions request,
io.grpc.stub.StreamObserver<GetBlockMasterInfoPResponse> responseObserver)
Returns block master information.
|
void |
getCapacityBytes(GetCapacityBytesPOptions request,
io.grpc.stub.StreamObserver<GetCapacityBytesPResponse> responseObserver)
Returns the capacity (in bytes).
|
void |
getUsedBytes(GetUsedBytesPOptions request,
io.grpc.stub.StreamObserver<GetUsedBytesPResponse> responseObserver)
Returns the used storage (in bytes).
|
void |
getWorkerInfoList(GetWorkerInfoListPOptions request,
io.grpc.stub.StreamObserver<GetWorkerInfoListPResponse> responseObserver)
Returns a list of workers information.
|
void |
getWorkerLostStorage(GetWorkerLostStoragePOptions request,
io.grpc.stub.StreamObserver<GetWorkerLostStoragePResponse> responseObserver)
Returns a list of worker lost storage information
|
void |
getWorkerReport(GetWorkerReportPOptions request,
io.grpc.stub.StreamObserver<GetWorkerInfoListPResponse> responseObserver)
Returns a list of workers information for report CLI.
|
void |
removeDecommissionedWorker(RemoveDecommissionedWorkerPOptions request,
io.grpc.stub.StreamObserver<RemoveDecommissionedWorkerPResponse> responseObserver)
If target worker is in the decommissioned worker set,
return true, remove target worker from decommissioned worker set; else, return false.
|
protected BlockMasterClientServiceGrpc.BlockMasterClientServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<BlockMasterClientServiceGrpc.BlockMasterClientServiceStub>
public void getBlockInfo(GetBlockInfoPRequest request, io.grpc.stub.StreamObserver<GetBlockInfoPResponse> responseObserver)
Returns the block information for the given block id.
public void getBlockMasterInfo(GetBlockMasterInfoPOptions request, io.grpc.stub.StreamObserver<GetBlockMasterInfoPResponse> responseObserver)
Returns block master information.
public void getCapacityBytes(GetCapacityBytesPOptions request, io.grpc.stub.StreamObserver<GetCapacityBytesPResponse> responseObserver)
Returns the capacity (in bytes).
public void getUsedBytes(GetUsedBytesPOptions request, io.grpc.stub.StreamObserver<GetUsedBytesPResponse> responseObserver)
Returns the used storage (in bytes).
public void getWorkerInfoList(GetWorkerInfoListPOptions request, io.grpc.stub.StreamObserver<GetWorkerInfoListPResponse> responseObserver)
Returns a list of workers information.
public void removeDecommissionedWorker(RemoveDecommissionedWorkerPOptions request, io.grpc.stub.StreamObserver<RemoveDecommissionedWorkerPResponse> responseObserver)
If target worker is in the decommissioned worker set, return true, remove target worker from decommissioned worker set; else, return false.
public void getWorkerReport(GetWorkerReportPOptions request, io.grpc.stub.StreamObserver<GetWorkerInfoListPResponse> responseObserver)
Returns a list of workers information for report CLI.
public void getWorkerLostStorage(GetWorkerLostStoragePOptions request, io.grpc.stub.StreamObserver<GetWorkerLostStoragePResponse> responseObserver)
Returns a list of worker lost storage information
Copyright © 2023. All Rights Reserved.