Package org.apache.beam.sdk.fn.server
Interface FnService
-
- All Superinterfaces:
java.lang.AutoCloseable,org.apache.beam.vendor.grpc.v1p48p1.io.grpc.BindableService
public interface FnService extends java.lang.AutoCloseable, org.apache.beam.vendor.grpc.v1p48p1.io.grpc.BindableServiceAn interface sharing common behavior with services used during execution of user Fns.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose().
-
-
-
Method Detail
-
close
void close() throws java.lang.Exception.There should be no more calls to any service method by the time a call to
close()begins. Specifically, this means that aServerthat this service is bound to should have completed a call to theServer.shutdown()method, and all future incoming calls will be rejected.- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.lang.Exception
-
-