public class LocalFileSystemArtifactStagerService extends org.apache.beam.model.jobmanagement.v1.ArtifactStagingServiceGrpc.ArtifactStagingServiceImplBase implements FnService
ArtifactStagingService which stages files to a local temp directory. TODO: refactor to
use staging session tokens| Modifier and Type | Method and Description |
|---|---|
void |
close()
.
|
void |
commitManifest(org.apache.beam.model.jobmanagement.v1.ArtifactApi.CommitManifestRequest request,
org.apache.beam.vendor.grpc.v1p13p1.io.grpc.stub.StreamObserver<org.apache.beam.model.jobmanagement.v1.ArtifactApi.CommitManifestResponse> responseObserver) |
static LocalFileSystemArtifactStagerService |
forRootDirectory(java.io.File base) |
org.apache.beam.vendor.grpc.v1p13p1.io.grpc.stub.StreamObserver<org.apache.beam.model.jobmanagement.v1.ArtifactApi.PutArtifactRequest> |
putArtifact(org.apache.beam.vendor.grpc.v1p13p1.io.grpc.stub.StreamObserver<org.apache.beam.model.jobmanagement.v1.ArtifactApi.PutArtifactResponse> responseObserver) |
bindServicepublic static LocalFileSystemArtifactStagerService forRootDirectory(java.io.File base)
public org.apache.beam.vendor.grpc.v1p13p1.io.grpc.stub.StreamObserver<org.apache.beam.model.jobmanagement.v1.ArtifactApi.PutArtifactRequest> putArtifact(org.apache.beam.vendor.grpc.v1p13p1.io.grpc.stub.StreamObserver<org.apache.beam.model.jobmanagement.v1.ArtifactApi.PutArtifactResponse> responseObserver)
putArtifact in class org.apache.beam.model.jobmanagement.v1.ArtifactStagingServiceGrpc.ArtifactStagingServiceImplBasepublic void commitManifest(org.apache.beam.model.jobmanagement.v1.ArtifactApi.CommitManifestRequest request,
org.apache.beam.vendor.grpc.v1p13p1.io.grpc.stub.StreamObserver<org.apache.beam.model.jobmanagement.v1.ArtifactApi.CommitManifestResponse> responseObserver)
commitManifest in class org.apache.beam.model.jobmanagement.v1.ArtifactStagingServiceGrpc.ArtifactStagingServiceImplBasepublic void close()
throws java.lang.Exception
FnServiceThere 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.