Class GRpcServerUtils
java.lang.Object
com.netflix.genie.web.agent.apis.rpc.servers.GRpcServerUtils
Utilities for working with a gRPC 
Server instance.- Since:
 - 4.0.0
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic intstartServer(io.grpc.Server server) Attempt to start a gRpc server on this node. 
- 
Method Details
- 
startServer
Attempt to start a gRpc server on this node.- Parameters:
 server- The server to start- Returns:
 - The port the server is running on.
 - Throws:
 IllegalStateException- If we're unable to start the server
 
 -