Package io.deephaven.server.jetty
Class JettyBackedGrpcServer
- java.lang.Object
-
- io.deephaven.server.jetty.JettyBackedGrpcServer
-
- All Implemented Interfaces:
io.deephaven.server.runner.GrpcServer
public class JettyBackedGrpcServer extends java.lang.Object implements io.deephaven.server.runner.GrpcServer
-
-
Constructor Summary
Constructors Constructor Description JettyBackedGrpcServer(JettyConfig config, GrpcFilter filter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeginShutdown()intgetPort()voidjoin()voidstart()voidstopWithTimeout(long timeout, java.util.concurrent.TimeUnit unit)
-
-
-
Constructor Detail
-
JettyBackedGrpcServer
@Inject public JettyBackedGrpcServer(JettyConfig config, GrpcFilter filter)
-
-
Method Detail
-
start
public void start() throws java.io.IOException- Specified by:
startin interfaceio.deephaven.server.runner.GrpcServer- Throws:
java.io.IOException
-
join
public void join() throws java.lang.InterruptedException- Specified by:
joinin interfaceio.deephaven.server.runner.GrpcServer- Throws:
java.lang.InterruptedException
-
beginShutdown
public void beginShutdown()
- Specified by:
beginShutdownin interfaceio.deephaven.server.runner.GrpcServer
-
stopWithTimeout
public void stopWithTimeout(long timeout, java.util.concurrent.TimeUnit unit)- Specified by:
stopWithTimeoutin interfaceio.deephaven.server.runner.GrpcServer
-
getPort
public int getPort()
- Specified by:
getPortin interfaceio.deephaven.server.runner.GrpcServer
-
-