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.BindableService
    An 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
      void close()
      .
      • Methods inherited from interface org.apache.beam.vendor.grpc.v1p48p1.io.grpc.BindableService

        bindService
    • 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 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.

        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.lang.Exception