start

public void start()

Starts the service.

A gRPC-default executor is used for the server routines. I.e., in-process gRPC server is going to run on top of a direct executor, and a server exposed at a port will run on top of a shared cached thread pool.

See the ServerBuilder Javadocs corresponding to the current gRPC version for more details.

Throws

if unable to bind


public void start(Executor executor)

Starts the service on top of the given Executor.

Parameters

executor

an executor to use for gRPC server

Throws

if unable to bind