class_docstr: Servicer handling RPCs for service statuses.
class_docstr_tok: ["Servicer","handling","RPCs","for","service","statuses","."]
docstr: Sets the status of a service.
  
  Args:
    service: string, the name of the service.
    status: HealthCheckResponse.status enum value indicating the status of
      the service
docstr_tok: ["Sets","the","status","of","a","service",".","Args",":","service",":","string",",","the","name","of","the","service",".","status",":","HealthCheckResponse.status","enum","value","indicating","the","status","of","the","service"]
code: def set(self, service, status):
      """Sets the status of a service.
  
      Args:
        service: string, the name of the service.
        status: HealthCheckResponse.status enum value indicating the status of
          the service
      """
      with self._lock:
          if self._gracefully_shutting_down:
              return
          else:
              self._server_status[service] = status
              if service in self._send_response_callbacks:
                  for (
                      send_response_callback
                  ) in self._send_response_callbacks[service]:
                      send_response_callback(
                          health_pb2.HealthCheckResponse(status=status)
                      )
  
imports: import collections
  import threading
  from aim.ext.transport.proto import health_pb2
  from aim.ext.transport.proto import health_pb2_grpc
label_desc: Use image node_id 5 for calling the HealthServicer obj's underlying member method code with example usage: obj.set(service, status) without return types