public abstract static class ArtifactStagingServiceGrpc.ArtifactStagingServiceImplBase extends Object implements io.grpc.BindableService
A service to stage artifacts for use in a Job. RPCs made to an ArtifactStagingService endpoint should include some form of identification for the job as a header.
| Constructor and Description |
|---|
ArtifactStagingServiceImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
commitManifest(ArtifactApi.CommitManifestRequest request,
io.grpc.stub.StreamObserver<ArtifactApi.CommitManifestResponse> responseObserver)
Commit the manifest for a Job.
|
io.grpc.stub.StreamObserver<ArtifactApi.PutArtifactRequest> |
putArtifact(io.grpc.stub.StreamObserver<ArtifactApi.PutArtifactResponse> responseObserver)
Stage an artifact to be available during job execution.
|
public io.grpc.stub.StreamObserver<ArtifactApi.PutArtifactRequest> putArtifact(io.grpc.stub.StreamObserver<ArtifactApi.PutArtifactResponse> responseObserver)
Stage an artifact to be available during job execution. The first request must contain the name of the artifact. All future requests must contain sequential chunks of the content of the artifact.
public void commitManifest(ArtifactApi.CommitManifestRequest request, io.grpc.stub.StreamObserver<ArtifactApi.CommitManifestResponse> responseObserver)
Commit the manifest for a Job. All artifacts must have been successfully uploaded before this call is made. Throws error INVALID_ARGUMENT if not all of the members of the manifest are present
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableServiceCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.