public class BeamFileSystemArtifactRetrievalService extends org.apache.beam.model.jobmanagement.v1.ArtifactRetrievalServiceGrpc.ArtifactRetrievalServiceImplBase implements ArtifactRetrievalService
ArtifactRetrievalService
that uses FileSystems
as its backing storage and uses
the artifact layout and retrieval token format produced by BeamFileSystemArtifactStagingService
.Constructor and Description |
---|
BeamFileSystemArtifactRetrievalService() |
Modifier and Type | Method and Description |
---|---|
void |
close()
.
|
static BeamFileSystemArtifactRetrievalService |
create() |
void |
getArtifact(org.apache.beam.model.jobmanagement.v1.ArtifactApi.GetArtifactRequest request,
org.apache.beam.vendor.grpc.v1.io.grpc.stub.StreamObserver<org.apache.beam.model.jobmanagement.v1.ArtifactApi.ArtifactChunk> responseObserver) |
void |
getManifest(org.apache.beam.model.jobmanagement.v1.ArtifactApi.GetManifestRequest request,
org.apache.beam.vendor.grpc.v1.io.grpc.stub.StreamObserver<org.apache.beam.model.jobmanagement.v1.ArtifactApi.GetManifestResponse> responseObserver) |
bindService
public BeamFileSystemArtifactRetrievalService()
public static BeamFileSystemArtifactRetrievalService create()
public void getManifest(org.apache.beam.model.jobmanagement.v1.ArtifactApi.GetManifestRequest request, org.apache.beam.vendor.grpc.v1.io.grpc.stub.StreamObserver<org.apache.beam.model.jobmanagement.v1.ArtifactApi.GetManifestResponse> responseObserver)
getManifest
in class org.apache.beam.model.jobmanagement.v1.ArtifactRetrievalServiceGrpc.ArtifactRetrievalServiceImplBase
public void getArtifact(org.apache.beam.model.jobmanagement.v1.ArtifactApi.GetArtifactRequest request, org.apache.beam.vendor.grpc.v1.io.grpc.stub.StreamObserver<org.apache.beam.model.jobmanagement.v1.ArtifactApi.ArtifactChunk> responseObserver)
getArtifact
in class org.apache.beam.model.jobmanagement.v1.ArtifactRetrievalServiceGrpc.ArtifactRetrievalServiceImplBase
public void close() throws java.lang.Exception
FnService
There should be no more calls to any service method by the time a call to FnService.close()
begins. Specifically, this means that a Server
that this service is bound to should have completed a call to the Server.shutdown()
method, and all future incoming calls
will be rejected.