class FailfastHaStrategy<T> extends AbstractHaStrategy<T> {

    @Override
    public Response call(Request request, LoadBalance<T> loadBalance) {<FILL_FUNCTION_BODY>}
}

        Referer<T> refer = loadBalance.select(request);
        if (refer == null) {
            throw new MotanServiceException(String.format("FailfastHaStrategy No referers for request:%s, load balance:%s", request,
                    loadBalance));
        }
        return refer.call(request);
    
<methods>public non-sealed void <init>() ,public void setUrl(com.weibo.api.motan.rpc.URL) <variables>protected com.weibo.api.motan.rpc.URL url