private boolean prepareToResearchTMCluster() {
        int count = tryConnectCount.incrementAndGet();
        int size = txClientConfig.getManagerAddress().size();
        if (count == size) {
            TMSearcher.search();
            return false;
        } else if (count > size) {
            return !TMSearcher.searchedOne();
        }
        return true;
    }
private boolean prepareToResearchTMCluster() {
        int count = tryConnectCount.incrementAndGet();
        int size = txClientConfig.getManagerAddress().size();
        if (count == size) {
            TMSearcher.search();
            return false;
        } else if (count > size) {
            return !TMSearcher.searchedOne();
        }
        return true;
    }
private boolean prepareToResearchTMCluster ( ) { int count = tryConnectCount . incrementAndGet ( ) ; int size = txClientConfig . getManagerAddress ( ) . size ( ) ; if ( count == size ) { TMSearcher . search ( ) ; return false ; } else if ( count > size ) { return ! TMSearcher . searchedOne ( ) ; } return true ; }
准备搜索TM

@return true 搜索结束
准备搜索TM