public static final class BlockMasterWorkerServiceGrpc.BlockMasterWorkerServiceStub extends io.grpc.stub.AbstractAsyncStub<BlockMasterWorkerServiceGrpc.BlockMasterWorkerServiceStub>
This interface contains block master service endpoints for Alluxio workers.
Modifier and Type | Method and Description |
---|---|
void |
blockHeartbeat(BlockHeartbeatPRequest request,
io.grpc.stub.StreamObserver<BlockHeartbeatPResponse> responseObserver)
Periodic block worker heartbeat returns an optional command for the block worker to execute.
|
protected BlockMasterWorkerServiceGrpc.BlockMasterWorkerServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
commitBlock(CommitBlockPRequest request,
io.grpc.stub.StreamObserver<CommitBlockPResponse> responseObserver)
Marks the given block as committed.
|
void |
commitBlockInUfs(CommitBlockInUfsPRequest request,
io.grpc.stub.StreamObserver<CommitBlockInUfsPResponse> responseObserver)
Marks the given block as committed which resides in UFS.
|
void |
getWorkerId(GetWorkerIdPRequest request,
io.grpc.stub.StreamObserver<GetWorkerIdPResponse> responseObserver)
Returns a worker id for the given network address.
|
void |
notifyWorkerId(NotifyWorkerIdPRequest request,
io.grpc.stub.StreamObserver<NotifyWorkerIdPResponse> responseObserver)
Notify all masters about the worker ID.
|
void |
registerWorker(RegisterWorkerPRequest request,
io.grpc.stub.StreamObserver<RegisterWorkerPResponse> responseObserver)
Registers a worker.
|
io.grpc.stub.StreamObserver<RegisterWorkerPRequest> |
registerWorkerStream(io.grpc.stub.StreamObserver<RegisterWorkerPResponse> responseObserver)
Registers a worker in a streaming way
|
void |
requestRegisterLease(GetRegisterLeasePRequest request,
io.grpc.stub.StreamObserver<GetRegisterLeasePResponse> responseObserver)
Requests a lease for registration
|
protected BlockMasterWorkerServiceGrpc.BlockMasterWorkerServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<BlockMasterWorkerServiceGrpc.BlockMasterWorkerServiceStub>
public void blockHeartbeat(BlockHeartbeatPRequest request, io.grpc.stub.StreamObserver<BlockHeartbeatPResponse> responseObserver)
Periodic block worker heartbeat returns an optional command for the block worker to execute.
public void commitBlock(CommitBlockPRequest request, io.grpc.stub.StreamObserver<CommitBlockPResponse> responseObserver)
Marks the given block as committed.
public void commitBlockInUfs(CommitBlockInUfsPRequest request, io.grpc.stub.StreamObserver<CommitBlockInUfsPResponse> responseObserver)
Marks the given block as committed which resides in UFS.
public void getWorkerId(GetWorkerIdPRequest request, io.grpc.stub.StreamObserver<GetWorkerIdPResponse> responseObserver)
Returns a worker id for the given network address.
public void notifyWorkerId(NotifyWorkerIdPRequest request, io.grpc.stub.StreamObserver<NotifyWorkerIdPResponse> responseObserver)
Notify all masters about the worker ID.
public void registerWorker(RegisterWorkerPRequest request, io.grpc.stub.StreamObserver<RegisterWorkerPResponse> responseObserver)
Registers a worker.
public io.grpc.stub.StreamObserver<RegisterWorkerPRequest> registerWorkerStream(io.grpc.stub.StreamObserver<RegisterWorkerPResponse> responseObserver)
Registers a worker in a streaming way
public void requestRegisterLease(GetRegisterLeasePRequest request, io.grpc.stub.StreamObserver<GetRegisterLeasePResponse> responseObserver)
Requests a lease for registration
Copyright © 2023. All Rights Reserved.