public abstract class AbstractEndpointFactory extends Object implements EndpointFactory
EndpointFactory
Modifier and Type | Field and Description |
---|---|
protected String |
balancer |
protected EndpointBalancer |
eb |
Constructor and Description |
---|
AbstractEndpointFactory()
コンストラクタ
|
Modifier and Type | Method and Description |
---|---|
List<String> |
create(List<String> defList)
EndPointを生成(取得)する.
|
abstract List<String> |
create(List<String> defList,
String sig)
EndPointを生成(取得)する.
|
void |
endStatistics(Object... args)
統計解析終了トリガー
バランサーを保持している場合には、バランサーのendStatisticsを呼び出す。 |
String |
getBalancer()
バランサーを取得する
|
String |
getRealPath()
サービスを配備しているパス情報を取得する
|
String |
getSigName()
EndPointリスト識別子を取得する。
|
void |
setBalancer(String balancer)
バランサーを設定する
|
void |
setRealPath(String path)
サービス配備先のパス情報を設定する.
|
void |
setSigName(String sig)
識別子を設定する
|
void |
startStatistics(Object... args)
統計解析開始トリガー
バランサーを保持している場合には、バランサーのstartStatisticsを呼び出す。 |
protected String balancer
protected EndpointBalancer eb
public List<String> create(List<String> defList)
EndpointFactory
create
in interface EndpointFactory
defList
- デフォルトのEndPointリストpublic abstract List<String> create(List<String> defList, String sig)
EndpointFactory
create
in interface EndpointFactory
defList
- デフォルトのEndPointリストsig
- 識別子public void endStatistics(Object... args)
EndpointFactory
endStatistics
in interface EndpointFactory
args
- 任意データEndpointBalancer
public String getRealPath()
public String getSigName()
public void setRealPath(String path)
EndpointFactory
setRealPath
in interface EndpointFactory
path
- パス情報public void setSigName(String sig)
EndpointFactory
setSigName
in interface EndpointFactory
sig
- 識別子public void startStatistics(Object... args)
EndpointFactory
startStatistics
in interface EndpointFactory
args
- 任意データEndpointBalancer
public String getBalancer()
public void setBalancer(String balancer)
balancer
- バランサーのインスタンス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/) .