mirror of https://github.com/grpc/grpc-java.git
services: define SERVICE_NAME_ALL_SERVICES for the empty service name (#5027)
This commit is contained in:
parent
85b244bb41
commit
65bd38476f
|
|
@ -29,6 +29,11 @@ import io.grpc.health.v1.HealthCheckResponse.ServingStatus;
|
||||||
*/
|
*/
|
||||||
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/4696")
|
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/4696")
|
||||||
public final class HealthStatusManager {
|
public final class HealthStatusManager {
|
||||||
|
/**
|
||||||
|
* The special "service name" that represent all services on a GRPC server. It is an empty
|
||||||
|
* string.
|
||||||
|
*/
|
||||||
|
public static final String SERVICE_NAME_ALL_SERVICES = "";
|
||||||
|
|
||||||
private final HealthServiceImpl healthService;
|
private final HealthServiceImpl healthService;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue