public class GRpcServerUtils
extends java.lang.Object
Server
instance.Modifier and Type | Method and Description |
---|---|
static int |
startServer(io.grpc.Server server)
Attempt to start a gRpc server on this node.
|
public static int startServer(io.grpc.Server server) throws java.lang.IllegalStateException
server
- The server to startjava.lang.IllegalStateException
- If we're unable to start the server