code: public void setHealthCheckRegistry(Object healthCheckRegistry)
     {
        if (healthCheckRegistry != null) {
           CodahaleHealthChecker.registerHealthChecks(this, config, (HealthCheckRegistry) healthCheckRegistry);
        }
     }
docs: Set the health check registry to be used when registering health checks.  Currently only Codahale health
  checks are supported.
  
  @param healthCheckRegistry the health check registry instance to use