src/ruby/pb/grpc/health/checker.rb
# Implements the rpc IDL API method
Implements the rpc IDL API method
Implements the rpc IDL API method
def check(req, _call)
        status = nil
        @status_mutex.synchronize do
          status = @statuses["#{req.service}"]
        end
        fail GRPC::BadStatus, StatusCodes::NOT_FOUND if status.nil?
        HealthCheckResponse.new(status: status)
      end
def check ( req , _call ) status = nil @status_mutex . synchronize do status = @statuses [ "#{req.service}" ] end fail GRPC :: BadStatus , StatusCodes :: NOT_FOUND if status . nil? HealthCheckResponse . new ( status : status ) end
Implements the rpc IDL API method
Implements the rpc IDL API method
req
<not_specific>
_call
<not_specific>