public abstract class AbstractLegacyArtifactRetrievalService extends org.apache.beam.model.jobmanagement.v1.LegacyArtifactRetrievalServiceGrpc.LegacyArtifactRetrievalServiceImplBase implements LegacyArtifactRetrievalService
LegacyArtifactRetrievalService
that handles everything aside from actually opening the
backing resources.Constructor and Description |
---|
AbstractLegacyArtifactRetrievalService() |
AbstractLegacyArtifactRetrievalService(org.apache.beam.vendor.guava.v26_0_jre.com.google.common.cache.Cache<java.lang.String,org.apache.beam.model.jobmanagement.v1.ArtifactApi.ProxyManifest> manifestCache) |
Modifier and Type | Method and Description |
---|---|
void |
close()
.
|
void |
getArtifact(org.apache.beam.model.jobmanagement.v1.ArtifactApi.LegacyGetArtifactRequest request,
org.apache.beam.vendor.grpc.v1p26p0.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.v1p26p0.io.grpc.stub.StreamObserver<org.apache.beam.model.jobmanagement.v1.ArtifactApi.GetManifestResponse> responseObserver) |
org.apache.beam.model.jobmanagement.v1.ArtifactApi.ProxyManifest |
getManifestProxy(java.lang.String retrievalToken) |
abstract java.io.InputStream |
openManifest(java.lang.String retrievalToken) |
abstract java.io.InputStream |
openUri(java.lang.String retrievalToken,
java.lang.String uri) |
bindService
public AbstractLegacyArtifactRetrievalService()
public AbstractLegacyArtifactRetrievalService(org.apache.beam.vendor.guava.v26_0_jre.com.google.common.cache.Cache<java.lang.String,org.apache.beam.model.jobmanagement.v1.ArtifactApi.ProxyManifest> manifestCache)
public abstract java.io.InputStream openManifest(java.lang.String retrievalToken) throws java.io.IOException
java.io.IOException
public abstract java.io.InputStream openUri(java.lang.String retrievalToken, java.lang.String uri) throws java.io.IOException
java.io.IOException
public org.apache.beam.model.jobmanagement.v1.ArtifactApi.ProxyManifest getManifestProxy(java.lang.String retrievalToken) throws java.io.IOException, java.util.concurrent.ExecutionException
java.io.IOException
java.util.concurrent.ExecutionException
public void getManifest(org.apache.beam.model.jobmanagement.v1.ArtifactApi.GetManifestRequest request, org.apache.beam.vendor.grpc.v1p26p0.io.grpc.stub.StreamObserver<org.apache.beam.model.jobmanagement.v1.ArtifactApi.GetManifestResponse> responseObserver)
getManifest
in class org.apache.beam.model.jobmanagement.v1.LegacyArtifactRetrievalServiceGrpc.LegacyArtifactRetrievalServiceImplBase
public void getArtifact(org.apache.beam.model.jobmanagement.v1.ArtifactApi.LegacyGetArtifactRequest request, org.apache.beam.vendor.grpc.v1p26p0.io.grpc.stub.StreamObserver<org.apache.beam.model.jobmanagement.v1.ArtifactApi.ArtifactChunk> responseObserver)
getArtifact
in class org.apache.beam.model.jobmanagement.v1.LegacyArtifactRetrievalServiceGrpc.LegacyArtifactRetrievalServiceImplBase
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.