public abstract static class JobMasterWorkerServiceGrpc.JobMasterWorkerServiceImplBase extends Object implements io.grpc.BindableService
This interface contains job master service endpoints for job service workers.
Constructor and Description |
---|
JobMasterWorkerServiceImplBase() |
Modifier and Type | Method and Description |
---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
heartbeat(JobHeartbeatPRequest request,
io.grpc.stub.StreamObserver<JobHeartbeatPResponse> responseObserver)
Periodic worker heartbeat returns a list of commands for the worker to execute.
|
void |
registerJobWorker(RegisterJobWorkerPRequest request,
io.grpc.stub.StreamObserver<RegisterJobWorkerPResponse> responseObserver)
Returns a worker id for the given network address.
|
public void heartbeat(JobHeartbeatPRequest request, io.grpc.stub.StreamObserver<JobHeartbeatPResponse> responseObserver)
Periodic worker heartbeat returns a list of commands for the worker to execute.
public void registerJobWorker(RegisterJobWorkerPRequest request, io.grpc.stub.StreamObserver<RegisterJobWorkerPResponse> responseObserver)
Returns a worker id for the given network address.
public final io.grpc.ServerServiceDefinition bindService()
bindService
in interface io.grpc.BindableService
Copyright © 2023. All Rights Reserved.