public static final class JobServiceGrpc.JobServiceBlockingStub extends io.grpc.stub.AbstractStub<JobServiceGrpc.JobServiceBlockingStub>
Job Service for running RunnerAPI pipelines
| Modifier and Type | Method and Description |
|---|---|
protected JobServiceGrpc.JobServiceBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
JobApi.CancelJobResponse |
cancel(JobApi.CancelJobRequest request)
Cancel the job
|
Iterator<JobApi.JobMessagesResponse> |
getMessageStream(JobApi.JobMessagesRequest request)
Subscribe to a stream of state changes and messages from the job
|
JobApi.GetJobStateResponse |
getState(JobApi.GetJobStateRequest request)
Get the current state of the job
|
Iterator<JobApi.GetJobStateResponse> |
getStateStream(JobApi.GetJobStateRequest request)
Subscribe to a stream of state changes of the job, will immediately return the current state of the job as the first response.
|
JobApi.PrepareJobResponse |
prepare(JobApi.PrepareJobRequest request)
Prepare a job for execution.
|
JobApi.RunJobResponse |
run(JobApi.RunJobRequest request)
Submit the job for execution
|
protected JobServiceGrpc.JobServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<JobServiceGrpc.JobServiceBlockingStub>public JobApi.PrepareJobResponse prepare(JobApi.PrepareJobRequest request)
Prepare a job for execution. The job will not be executed until a call is made to run with the returned preparationId.
public JobApi.RunJobResponse run(JobApi.RunJobRequest request)
Submit the job for execution
public JobApi.GetJobStateResponse getState(JobApi.GetJobStateRequest request)
Get the current state of the job
public JobApi.CancelJobResponse cancel(JobApi.CancelJobRequest request)
Cancel the job
public Iterator<JobApi.GetJobStateResponse> getStateStream(JobApi.GetJobStateRequest request)
Subscribe to a stream of state changes of the job, will immediately return the current state of the job as the first response.
public Iterator<JobApi.JobMessagesResponse> getMessageStream(JobApi.JobMessagesRequest request)
Subscribe to a stream of state changes and messages from the job
Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.