Lines Matching refs:Service
21 # service.
23 # Checker is implementation of the schema-specified health checking service.
24 class Checker < V1::Health::Service
38 status = @statuses["#{req.service}"]
46 # Adds the health status for a given service.
47 def add_status(service, status)
48 @status_mutex.synchronize { @statuses["#{service}"] = status }
54 services.each { |service| @statuses["#{service}"] = status }
58 # Adds health status for each service given within hash
61 service_statuses.each_pair { |service, status| @statuses["#{service}"] = status }
65 # Clears the status for the given service.
66 def clear_status(service)
67 @status_mutex.synchronize { @statuses.delete("#{service}") }