public abstract static class BlockMasterWorkerServiceGrpc.BlockMasterWorkerServiceImplBase extends Object implements io.grpc.BindableService
This interface contains block master service endpoints for Alluxio workers.
Constructor and Description |
---|
BlockMasterWorkerServiceImplBase() |
Modifier and Type | Method and Description |
---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
blockHeartbeat(BlockHeartbeatPRequest request,
io.grpc.stub.StreamObserver<BlockHeartbeatPResponse> responseObserver)
Periodic block worker heartbeat returns an optional command for the block worker to execute.
|
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 |
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
|
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 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
public final io.grpc.ServerServiceDefinition bindService()
bindService
in interface io.grpc.BindableService
Copyright © 2023. All Rights Reserved.