public abstract static class JobServiceGrpc.JobServiceImplBase extends Object implements io.grpc.BindableService
Job Service for running RunnerAPI pipelines
| Constructor and Description |
|---|
JobServiceImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
cancel(JobApi.CancelJobRequest request,
io.grpc.stub.StreamObserver<JobApi.CancelJobResponse> responseObserver)
Cancel the job
|
void |
getMessageStream(JobApi.JobMessagesRequest request,
io.grpc.stub.StreamObserver<JobApi.JobMessagesResponse> responseObserver)
Subscribe to a stream of state changes and messages from the job
|
void |
getState(JobApi.GetJobStateRequest request,
io.grpc.stub.StreamObserver<JobApi.GetJobStateResponse> responseObserver)
Get the current state of the job
|
void |
getStateStream(JobApi.GetJobStateRequest request,
io.grpc.stub.StreamObserver<JobApi.GetJobStateResponse> responseObserver)
Subscribe to a stream of state changes of the job, will immediately return the current state of the job as the first response.
|
void |
prepare(JobApi.PrepareJobRequest request,
io.grpc.stub.StreamObserver<JobApi.PrepareJobResponse> responseObserver)
Prepare a job for execution.
|
void |
run(JobApi.RunJobRequest request,
io.grpc.stub.StreamObserver<JobApi.RunJobResponse> responseObserver)
Submit the job for execution
|
public void prepare(JobApi.PrepareJobRequest request, io.grpc.stub.StreamObserver<JobApi.PrepareJobResponse> responseObserver)
Prepare a job for execution. The job will not be executed until a call is made to run with the returned preparationId.
public void run(JobApi.RunJobRequest request, io.grpc.stub.StreamObserver<JobApi.RunJobResponse> responseObserver)
Submit the job for execution
public void getState(JobApi.GetJobStateRequest request, io.grpc.stub.StreamObserver<JobApi.GetJobStateResponse> responseObserver)
Get the current state of the job
public void cancel(JobApi.CancelJobRequest request, io.grpc.stub.StreamObserver<JobApi.CancelJobResponse> responseObserver)
Cancel the job
public void getStateStream(JobApi.GetJobStateRequest request, io.grpc.stub.StreamObserver<JobApi.GetJobStateResponse> responseObserver)
Subscribe to a stream of state changes of the job, will immediately return the current state of the job as the first response.
public void getMessageStream(JobApi.JobMessagesRequest request, io.grpc.stub.StreamObserver<JobApi.JobMessagesResponse> responseObserver)
Subscribe to a stream of state changes and messages from the job
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableServiceCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.