public class RoundrobinBalancerImpl extends Object implements EndpointBalancer
Modifier and Type | Method and Description |
---|---|
void |
endStatistics(Object... args)
統計解析終了メソッド(必要に応じて、EndpointFactoryから呼び出される)
バランサーで統計解析が必要な場合には、終了のトリガーとして利用する. |
static EndpointBalancer |
getInstance()
インスタンスを返す
|
List<String> |
getList(List<List<String>> list,
String sig)
バランサーアルゴリズムで選択された、EndPointリストを取得する.
|
void |
startStatistics(Object... args)
統計解析開始メソッド(必要に応じて、EndpointFactoryから呼び出される)
バランサーで統計解析が必要な場合には、開始のトリガーとして利用する. |
public List<String> getList(List<List<String>> list, String sig)
EndpointBalancer
getList
in interface EndpointBalancer
list
- EndPointリストのリストsig
- 識別子public static final EndpointBalancer getInstance()
public void startStatistics(Object... args)
EndpointBalancer
startStatistics
in interface EndpointBalancer
args
- 任意データpublic void endStatistics(Object... args)
EndpointBalancer
endStatistics
in interface EndpointBalancer
args
- 任意データCopyright (C) 2014 Information Analysis Laboratory, NICT
RaSC is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2.1 of the License, or (at your option) any later version.
RaSC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see (http://www.gnu.org/licenses/) .