public HealthDependencyDto doDependencyAvailabilityCheck(String name) {
    HealthDependency dependency = healthDependencies.get(checkNotNull(name));
    if (dependency == null) {
      throw new WebApplicationException(Response.status(404).build());
    }
    return checkDependencyHealth(dependency);
  }
public HealthDependencyDto doDependencyAvailabilityCheck ( String name ) { HealthDependency dependency = healthDependencies . get ( checkNotNull ( name ) ) ; if ( dependency == null ) { throw new WebApplicationException ( Response . status ( 404 ) . build ( ) ) ; } return checkDependencyHealth ( dependency ) ; }
Returns information about a dependency, including the result of checking its health.