Package org.mockserver.grpc
Class GrpcHealthRegistry
java.lang.Object
org.mockserver.grpc.GrpcHealthRegistry
-
Method Summary
Modifier and TypeMethodDescriptionentries()Returns all non-default service to status entries plus the default status.static GrpcHealthRegistryGet the status for a service name; falls back to default.voidremoveStatus(String serviceName) Remove the override for a specific service so it reverts to the default.voidreset()voidsetStatus(String serviceName, ServingStatus status) Set the status for a specific service name (empty string = default for all).
-
Method Details
-
getInstance
-
setStatus
Set the status for a specific service name (empty string = default for all). -
getStatus
Get the status for a service name; falls back to default. -
entries
Returns all non-default service to status entries plus the default status. -
removeStatus
Remove the override for a specific service so it reverts to the default. An empty service name resets the default status itself back to SERVING. -
reset
public void reset()
-