zm
2020-05-18 a18bfacbf56b401f6e0fdae8710fbca4df8cff77
commit | author | age
a18bfa 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Z 2 <!-- NewPage -->
3 <html lang="zh">
4 <head>
5 <!-- Generated by javadoc (1.8.0_65) on Mon May 18 20:38:26 CST 2020 -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>RandomLoadBalanceProxy (transaction-dubbo 4.1.0 API)</title>
8 <meta name="date" content="2020-05-18">
9 <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
10 <script type="text/javascript" src="../../../../../script.js"></script>
11 </head>
12 <body>
13 <script type="text/javascript"><!--
14     try {
15         if (location.href.indexOf('is-external=true') == -1) {
16             parent.document.title="RandomLoadBalanceProxy (transaction-dubbo 4.1.0 API)";
17         }
18     }
19     catch(err) {
20     }
21 //-->
22 var methods = {"i0":10};
23 var tabs = {65535:["t0","所有方法"],2:["t2","实例方法"],8:["t4","具体方法"]};
24 var altColor = "altColor";
25 var rowColor = "rowColor";
26 var tableTab = "tableTab";
27 var activeTableTab = "activeTableTab";
28 </script>
29 <noscript>
30 <div>您的浏览器已禁用 JavaScript。</div>
31 </noscript>
32 <!-- ========= START OF TOP NAVBAR ======= -->
33 <div class="topNav"><a name="navbar.top">
34 <!--   -->
35 </a>
36 <div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
37 <a name="navbar.top.firstrow">
38 <!--   -->
39 </a>
40 <ul class="navList" title="导航">
41 <li><a href="../../../../../overview-summary.html">概览</a></li>
42 <li><a href="package-summary.html">程序包</a></li>
43 <li class="navBarCell1Rev">类</li>
44 <li><a href="class-use/RandomLoadBalanceProxy.html">使用</a></li>
45 <li><a href="package-tree.html">树</a></li>
46 <li><a href="../../../../../deprecated-list.html">已过时</a></li>
47 <li><a href="../../../../../index-all.html">索引</a></li>
48 <li><a href="../../../../../help-doc.html">帮助</a></li>
49 </ul>
50 </div>
51 <div class="subNav">
52 <ul class="navList">
53 <li><a href="../../../../../com/codingapi/tx/dubbo/balance/LeastActiveLoadBalanceProxy.html" title="com.codingapi.tx.dubbo.balance中的类"><span class="typeNameLink">上一个类</span></a></li>
54 <li><a href="../../../../../com/codingapi/tx/dubbo/balance/RoundRobinLoadBalanceProxy.html" title="com.codingapi.tx.dubbo.balance中的类"><span class="typeNameLink">下一个类</span></a></li>
55 </ul>
56 <ul class="navList">
57 <li><a href="../../../../../index.html?com/codingapi/tx/dubbo/balance/RandomLoadBalanceProxy.html" target="_top">框架</a></li>
58 <li><a href="RandomLoadBalanceProxy.html" target="_top">无框架</a></li>
59 </ul>
60 <ul class="navList" id="allclasses_navbar_top">
61 <li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
62 </ul>
63 <div>
64 <script type="text/javascript"><!--
65   allClassesLink = document.getElementById("allclasses_navbar_top");
66   if(window==top) {
67     allClassesLink.style.display = "block";
68   }
69   else {
70     allClassesLink.style.display = "none";
71   }
72   //-->
73 </script>
74 </div>
75 <div>
76 <ul class="subNavList">
77 <li>概要:&nbsp;</li>
78 <li>嵌套&nbsp;|&nbsp;</li>
79 <li><a href="#fields.inherited.from.class.com.alibaba.dubbo.rpc.cluster.loadbalance.RandomLoadBalance">字段</a>&nbsp;|&nbsp;</li>
80 <li><a href="#constructor.summary">构造器</a>&nbsp;|&nbsp;</li>
81 <li><a href="#method.summary">方法</a></li>
82 </ul>
83 <ul class="subNavList">
84 <li>详细资料:&nbsp;</li>
85 <li>字段&nbsp;|&nbsp;</li>
86 <li><a href="#constructor.detail">构造器</a>&nbsp;|&nbsp;</li>
87 <li><a href="#method.detail">方法</a></li>
88 </ul>
89 </div>
90 <a name="skip.navbar.top">
91 <!--   -->
92 </a></div>
93 <!-- ========= END OF TOP NAVBAR ========= -->
94 <!-- ======== START OF CLASS DATA ======== -->
95 <div class="header">
96 <div class="subTitle">com.codingapi.tx.dubbo.balance</div>
97 <h2 title="类 RandomLoadBalanceProxy" class="title">类 RandomLoadBalanceProxy</h2>
98 </div>
99 <div class="contentContainer">
100 <ul class="inheritance">
101 <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">java.lang.Object</a></li>
102 <li>
103 <ul class="inheritance">
104 <li>com.alibaba.dubbo.rpc.cluster.loadbalance.AbstractLoadBalance</li>
105 <li>
106 <ul class="inheritance">
107 <li>com.alibaba.dubbo.rpc.cluster.loadbalance.RandomLoadBalance</li>
108 <li>
109 <ul class="inheritance">
110 <li>com.codingapi.tx.dubbo.balance.RandomLoadBalanceProxy</li>
111 </ul>
112 </li>
113 </ul>
114 </li>
115 </ul>
116 </li>
117 </ul>
118 <div class="description">
119 <ul class="blockList">
120 <li class="blockList">
121 <dl>
122 <dt>所有已实现的接口:</dt>
123 <dd>com.alibaba.dubbo.rpc.cluster.LoadBalance</dd>
124 </dl>
125 <hr>
126 <br>
127 <pre>public class <span class="typeNameLabel">RandomLoadBalanceProxy</span>
128 extends com.alibaba.dubbo.rpc.cluster.loadbalance.RandomLoadBalance</pre>
129 <div class="block">create by lorne on 2017/11/29</div>
130 </li>
131 </ul>
132 </div>
133 <div class="summary">
134 <ul class="blockList">
135 <li class="blockList">
136 <!-- =========== FIELD SUMMARY =========== -->
137 <ul class="blockList">
138 <li class="blockList"><a name="field.summary">
139 <!--   -->
140 </a>
141 <h3>字段概要</h3>
142 <ul class="blockList">
143 <li class="blockList"><a name="fields.inherited.from.class.com.alibaba.dubbo.rpc.cluster.loadbalance.RandomLoadBalance">
144 <!--   -->
145 </a>
146 <h3>从类继承的字段&nbsp;com.alibaba.dubbo.rpc.cluster.loadbalance.RandomLoadBalance</h3>
147 <code>NAME</code></li>
148 </ul>
149 </li>
150 </ul>
151 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
152 <ul class="blockList">
153 <li class="blockList"><a name="constructor.summary">
154 <!--   -->
155 </a>
156 <h3>构造器概要</h3>
157 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释">
158 <caption><span>构造器</span><span class="tabEnd">&nbsp;</span></caption>
159 <tr>
160 <th class="colOne" scope="col">构造器和说明</th>
161 </tr>
162 <tr class="altColor">
163 <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/codingapi/tx/dubbo/balance/RandomLoadBalanceProxy.html#RandomLoadBalanceProxy--">RandomLoadBalanceProxy</a></span>()</code>&nbsp;</td>
164 </tr>
165 </table>
166 </li>
167 </ul>
168 <!-- ========== METHOD SUMMARY =========== -->
169 <ul class="blockList">
170 <li class="blockList"><a name="method.summary">
171 <!--   -->
172 </a>
173 <h3>方法概要</h3>
174 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
175 <caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd">&nbsp;</span></span></caption>
176 <tr>
177 <th class="colFirst" scope="col">限定符和类型</th>
178 <th class="colLast" scope="col">方法和说明</th>
179 </tr>
180 <tr id="i0" class="altColor">
181 <td class="colFirst"><code>&lt;T&gt;&nbsp;com.alibaba.dubbo.rpc.Invoker&lt;T&gt;</code></td>
182 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/codingapi/tx/dubbo/balance/RandomLoadBalanceProxy.html#select-java.util.List-com.alibaba.dubbo.common.URL-com.alibaba.dubbo.rpc.Invocation-">select</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;com.alibaba.dubbo.rpc.Invoker&lt;T&gt;&gt;&nbsp;invokers,
183       com.alibaba.dubbo.common.URL&nbsp;url,
184       com.alibaba.dubbo.rpc.Invocation&nbsp;invocation)</code>&nbsp;</td>
185 </tr>
186 </table>
187 <ul class="blockList">
188 <li class="blockList"><a name="methods.inherited.from.class.com.alibaba.dubbo.rpc.cluster.loadbalance.RandomLoadBalance">
189 <!--   -->
190 </a>
191 <h3>从类继承的方法&nbsp;com.alibaba.dubbo.rpc.cluster.loadbalance.RandomLoadBalance</h3>
192 <code>doSelect</code></li>
193 </ul>
194 <ul class="blockList">
195 <li class="blockList"><a name="methods.inherited.from.class.com.alibaba.dubbo.rpc.cluster.loadbalance.AbstractLoadBalance">
196 <!--   -->
197 </a>
198 <h3>从类继承的方法&nbsp;com.alibaba.dubbo.rpc.cluster.loadbalance.AbstractLoadBalance</h3>
199 <code>getWeight</code></li>
200 </ul>
201 <ul class="blockList">
202 <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
203 <!--   -->
204 </a>
205 <h3>从类继承的方法&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></h3>
206 <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="java.lang中的类或接口">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="java.lang中的类或接口">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="java.lang中的类或接口">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="java.lang中的类或接口">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="java.lang中的类或接口">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="java.lang中的类或接口">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="java.lang中的类或接口">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="java.lang中的类或接口">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="java.lang中的类或接口">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="java.lang中的类或接口">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="java.lang中的类或接口">wait</a></code></li>
207 </ul>
208 </li>
209 </ul>
210 </li>
211 </ul>
212 </div>
213 <div class="details">
214 <ul class="blockList">
215 <li class="blockList">
216 <!-- ========= CONSTRUCTOR DETAIL ======== -->
217 <ul class="blockList">
218 <li class="blockList"><a name="constructor.detail">
219 <!--   -->
220 </a>
221 <h3>构造器详细资料</h3>
222 <a name="RandomLoadBalanceProxy--">
223 <!--   -->
224 </a>
225 <ul class="blockListLast">
226 <li class="blockList">
227 <h4>RandomLoadBalanceProxy</h4>
228 <pre>public&nbsp;RandomLoadBalanceProxy()</pre>
229 </li>
230 </ul>
231 </li>
232 </ul>
233 <!-- ============ METHOD DETAIL ========== -->
234 <ul class="blockList">
235 <li class="blockList"><a name="method.detail">
236 <!--   -->
237 </a>
238 <h3>方法详细资料</h3>
239 <a name="select-java.util.List-com.alibaba.dubbo.common.URL-com.alibaba.dubbo.rpc.Invocation-">
240 <!--   -->
241 </a>
242 <ul class="blockListLast">
243 <li class="blockList">
244 <h4>select</h4>
245 <pre>public&nbsp;&lt;T&gt;&nbsp;com.alibaba.dubbo.rpc.Invoker&lt;T&gt;&nbsp;select(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;com.alibaba.dubbo.rpc.Invoker&lt;T&gt;&gt;&nbsp;invokers,
246                                                    com.alibaba.dubbo.common.URL&nbsp;url,
247                                                    com.alibaba.dubbo.rpc.Invocation&nbsp;invocation)</pre>
248 <dl>
249 <dt><span class="overrideSpecifyLabel">指定者:</span></dt>
250 <dd><code>select</code>&nbsp;在接口中&nbsp;<code>com.alibaba.dubbo.rpc.cluster.LoadBalance</code></dd>
251 <dt><span class="overrideSpecifyLabel">覆盖:</span></dt>
252 <dd><code>select</code>&nbsp;在类中&nbsp;<code>com.alibaba.dubbo.rpc.cluster.loadbalance.AbstractLoadBalance</code></dd>
253 </dl>
254 </li>
255 </ul>
256 </li>
257 </ul>
258 </li>
259 </ul>
260 </div>
261 </div>
262 <!-- ========= END OF CLASS DATA ========= -->
263 <!-- ======= START OF BOTTOM NAVBAR ====== -->
264 <div class="bottomNav"><a name="navbar.bottom">
265 <!--   -->
266 </a>
267 <div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
268 <a name="navbar.bottom.firstrow">
269 <!--   -->
270 </a>
271 <ul class="navList" title="导航">
272 <li><a href="../../../../../overview-summary.html">概览</a></li>
273 <li><a href="package-summary.html">程序包</a></li>
274 <li class="navBarCell1Rev">类</li>
275 <li><a href="class-use/RandomLoadBalanceProxy.html">使用</a></li>
276 <li><a href="package-tree.html">树</a></li>
277 <li><a href="../../../../../deprecated-list.html">已过时</a></li>
278 <li><a href="../../../../../index-all.html">索引</a></li>
279 <li><a href="../../../../../help-doc.html">帮助</a></li>
280 </ul>
281 </div>
282 <div class="subNav">
283 <ul class="navList">
284 <li><a href="../../../../../com/codingapi/tx/dubbo/balance/LeastActiveLoadBalanceProxy.html" title="com.codingapi.tx.dubbo.balance中的类"><span class="typeNameLink">上一个类</span></a></li>
285 <li><a href="../../../../../com/codingapi/tx/dubbo/balance/RoundRobinLoadBalanceProxy.html" title="com.codingapi.tx.dubbo.balance中的类"><span class="typeNameLink">下一个类</span></a></li>
286 </ul>
287 <ul class="navList">
288 <li><a href="../../../../../index.html?com/codingapi/tx/dubbo/balance/RandomLoadBalanceProxy.html" target="_top">框架</a></li>
289 <li><a href="RandomLoadBalanceProxy.html" target="_top">无框架</a></li>
290 </ul>
291 <ul class="navList" id="allclasses_navbar_bottom">
292 <li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
293 </ul>
294 <div>
295 <script type="text/javascript"><!--
296   allClassesLink = document.getElementById("allclasses_navbar_bottom");
297   if(window==top) {
298     allClassesLink.style.display = "block";
299   }
300   else {
301     allClassesLink.style.display = "none";
302   }
303   //-->
304 </script>
305 </div>
306 <div>
307 <ul class="subNavList">
308 <li>概要:&nbsp;</li>
309 <li>嵌套&nbsp;|&nbsp;</li>
310 <li><a href="#fields.inherited.from.class.com.alibaba.dubbo.rpc.cluster.loadbalance.RandomLoadBalance">字段</a>&nbsp;|&nbsp;</li>
311 <li><a href="#constructor.summary">构造器</a>&nbsp;|&nbsp;</li>
312 <li><a href="#method.summary">方法</a></li>
313 </ul>
314 <ul class="subNavList">
315 <li>详细资料:&nbsp;</li>
316 <li>字段&nbsp;|&nbsp;</li>
317 <li><a href="#constructor.detail">构造器</a>&nbsp;|&nbsp;</li>
318 <li><a href="#method.detail">方法</a></li>
319 </ul>
320 </div>
321 <a name="skip.navbar.bottom">
322 <!--   -->
323 </a></div>
324 <!-- ======== END OF BOTTOM NAVBAR ======= -->
325 <p class="legalCopy"><small>Copyright &#169; 2020. All rights reserved.</small></p>
326 </body>
327 </html>