Home
last modified time | relevance | path

Searched refs:statusMap (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc/src/csharp/Grpc.HealthCheck/
DHealthServiceImpl.cs42 private readonly Dictionary<string, HealthCheckResponse.Types.ServingStatus> statusMap = field in Grpc.HealthCheck.HealthServiceImpl
54 statusMap[service] = status; in SetStatus()
66 statusMap.Remove(service); in ClearStatus()
77 statusMap.Clear(); in ClearAll()
94 if (!statusMap.TryGetValue(service, out status)) in Check()
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DHealthServiceImpl.java36 private final Map<String, ServingStatus> statusMap field in HealthServiceImpl
54 statusMap.put(service, status); in setStatus()
59 return statusMap.get(service); in getStatus()
63 statusMap.remove(service); in clearStatus()