Grpc Container
Wrapping container for gRPC server.
Maintains and deploys several of gRPC services within a single server.
Uses ServerServiceDefinitions of each service.
Types
Link copied to clipboard
The builder for
GrpcContainer
allows to define a port and services exposed by the container.Link copied to clipboard
Allows to configure the gRPC's Server instance, on top of which this
GrpcContainer
will operate.Functions
Link copied to clipboard
Makes the JVM shut down the service when it is shutting down itself.
Link copied to clipboard
Initiates creating a container exposed at the given port.
Link copied to clipboard
Waits for the service to become terminated.
Link copied to clipboard
Injects a server to this container.
Link copied to clipboard
Initiates creating an in-process container exposed with the given server name.
Link copied to clipboard
Check if the given gRPC service is scheduled for the deployment in this container.
Link copied to clipboard
Returns
true
if the server is shut down or was not started at all, false
otherwise.Link copied to clipboard
Creates a new builder for the container.
Link copied to clipboard
Obtains the name of the in-process server, or empty
Optinal
if the container is exposed at a port.Link copied to clipboard
Initiates a forceful shutdown in which preexisting and new calls are rejected.