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 |
decommissionWorker(DecommissionWorkerPOptions request,
io.grpc.stub.StreamObserver<DecommissionWorkerPResponse> responseObserver)
Decommission the specific worker from Alluxio.
|
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 |
getLostWorkerList(GetWorkerInfoListPOptions request,
io.grpc.stub.StreamObserver<GetWorkerInfoListPResponse> responseObserver)
Returns a list of workers information.
|
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 |
removeDisabledWorker(RemoveDisabledWorkerPOptions request,
io.grpc.stub.StreamObserver<RemoveDisabledWorkerPResponse> 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 getLostWorkerList(GetWorkerInfoListPOptions request, io.grpc.stub.StreamObserver<GetWorkerInfoListPResponse> responseObserver)
Returns a list of workers information.
public void removeDisabledWorker(RemoveDisabledWorkerPOptions request, io.grpc.stub.StreamObserver<RemoveDisabledWorkerPResponse> 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
public void decommissionWorker(DecommissionWorkerPOptions request, io.grpc.stub.StreamObserver<DecommissionWorkerPResponse> responseObserver)
Decommission the specific worker from Alluxio.
Copyright © 2023. All Rights Reserved.