Interface GrpcServer

  • All Known Implementing Classes:
    NettyGrpcServer

    public interface GrpcServer
    Common interface for grpc server.
    • Method Detail

      • start

        void start()
            throws java.io.IOException
        start grpc server.
        Throws:
        java.io.IOException - problem while start grpc server
      • stop

        void stop()
        shutdown now grpc server.
      • blockUntilShutdown

        void blockUntilShutdown()
                         throws java.lang.InterruptedException
        Await termination on the main thread since the grpc library uses daemon threads.
        Throws:
        java.lang.InterruptedException