File tree Expand file tree Collapse file tree
transaction-springcloud/src/main/java/com/codingapi/ribbon/loadbalancer Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package com .codingapi .ribbon .loadbalancer ;
22
3+ import com .codingapi .tx .aop .bean .TxTransactionLocal ;
34import com .lorne .core .framework .utils .encode .MD5Util ;
5+ import com .netflix .loadbalancer .Server ;
46import org .apache .commons .lang .StringUtils ;
57import org .slf4j .Logger ;
68import org .slf4j .LoggerFactory ;
79
8- import com .codingapi .tx .Constants ;
9- import com .codingapi .tx .aop .bean .TxTransactionLocal ;
10- import com .netflix .loadbalancer .Server ;
11-
1210import java .util .List ;
1311
1412/**
@@ -19,7 +17,6 @@ public class LcnLoadBalancerRule {
1917 private Logger logger = LoggerFactory .getLogger (LcnLoadBalancerRule .class );
2018
2119 public Server proxy (List <Server > qualifiedServers , Server server ){
22- logger .info ("LCNloadBalancer proxy -> map-size -> " + Constants .cacheModelInfo .size ());
2320 logger .info ("The selected server info, host:" + server .getHost () + ", port:" + server .getPort ());
2421 TxTransactionLocal txTransactionLocal = TxTransactionLocal .current ();
2522 if (txTransactionLocal == null ){
You can’t perform that action at this time.
0 commit comments