static HealthCheckStrategy ofRatio(double maxEndpointRatio) {
        return PartialHealthCheckStrategy.builder()
                                         .maxEndpointRatio(maxEndpointRatio)
                                         .build();
    }
Sets the maximum endpoint ratio of target selected candidates.
The maximum endpoint ratio must greater than 0 and less or equal to 1.
You can use only one of the maximum endpoint count or maximum endpoint ratio.
core/src/main/java/com/linecorp/armeria/client/endpoint/healthcheck/HealthCheckStrategy.java