services: define SERVICE_NAME_ALL_SERVICES for the empty service name (#5027)

This commit is contained in:
Kun Zhang 2018-11-02 17:09:22 -07:00 committed by GitHub
parent 85b244bb41
commit 65bd38476f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -29,6 +29,11 @@ import io.grpc.health.v1.HealthCheckResponse.ServingStatus;
*/
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/4696")
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;