public class WorkerExecutor<V> extends Object
Constructor and Description |
---|
WorkerExecutor()
コンストラクタ
|
Modifier and Type | Method and Description |
---|---|
<S> void |
execute(boolean isStreamingReady,
jp.go.nict.langrid.servicecontainer.executor.StreamingReceiver<Object> resultReceiver,
ClientFactory clfactory,
Class<S> clsService,
int waitTimeOut,
AbstractServerModule<V,S> serverModule,
ResultStorage<V> resultStorage,
List<String> defEndpoints,
EndpointFactory ef)
サービス連携実行処理
|
public final <S> void execute(boolean isStreamingReady, jp.go.nict.langrid.servicecontainer.executor.StreamingReceiver<Object> resultReceiver, ClientFactory clfactory, Class<S> clsService, int waitTimeOut, AbstractServerModule<V,S> serverModule, ResultStorage<V> resultStorage, List<String> defEndpoints, EndpointFactory ef) throws ProcessFailedException
isStreamingReady
- ストリーミングフラグresultReceiver
- 結果通知用レシーバclfactory
- クライアントファクトリーclsService
- サービスクラスwaitTimeOut
- タイムアウト値serverModule
- サーバーモジュールオブジェクトservices
- msgpack用サービスマッピングresultStorage
- 結果格納ストレージdefEndpoints
- デフォルトのエンドポイントリストef
- エンドポイントファクトリーProcessFailedException
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/) .