Class JettyBackedGrpcServer

  • All Implemented Interfaces:
    io.deephaven.server.runner.GrpcServer

    public class JettyBackedGrpcServer
    extends java.lang.Object
    implements io.deephaven.server.runner.GrpcServer
    • Constructor Detail

      • JettyBackedGrpcServer

        @Inject
        public JettyBackedGrpcServer​(JettyConfig config,
                                     GrpcFilter filter)
    • Method Detail

      • start

        public void start()
                   throws java.io.IOException
        Specified by:
        start in interface io.deephaven.server.runner.GrpcServer
        Throws:
        java.io.IOException
      • join

        public void join()
                  throws java.lang.InterruptedException
        Specified by:
        join in interface io.deephaven.server.runner.GrpcServer
        Throws:
        java.lang.InterruptedException
      • beginShutdown

        public void beginShutdown()
        Specified by:
        beginShutdown in interface io.deephaven.server.runner.GrpcServer
      • stopWithTimeout

        public void stopWithTimeout​(long timeout,
                                    java.util.concurrent.TimeUnit unit)
        Specified by:
        stopWithTimeout in interface io.deephaven.server.runner.GrpcServer
      • getPort

        public int getPort()
        Specified by:
        getPort in interface io.deephaven.server.runner.GrpcServer