@Deprecated public abstract class AbstractCrawlingServiceManager extends Object
修飾子とタイプ | クラスと説明 |
---|---|
static class |
AbstractCrawlingServiceManager.CrawlingMode
非推奨です。
クローリングモードを表す列挙型です.
|
修飾子とタイプ | フィールドと説明 |
---|---|
protected String |
crawlerId
非推奨です。
クローラID
|
protected boolean |
isRunning
非推奨です。
処理中フラグ
|
protected String |
loginGroupId
非推奨です。
ログイングループID
|
protected AbstractCrawlingServiceManager.CrawlingMode |
mode
非推奨です。
クローリングモード
|
protected IntegratedCrawlingService |
service
非推奨です。
クローリングサービス
|
protected CrawlingSolrManager |
solrManager
非推奨です。
SolrManager
|
コンストラクタと説明 |
---|
AbstractCrawlingServiceManager(String crawlerId,
String loginGroupId,
AbstractCrawlingServiceManager.CrawlingMode mode)
非推奨です。
コンストラクタ
|
修飾子とタイプ | メソッドと説明 |
---|---|
protected void |
execute()
非推奨です。
クローラのメイン処理です.
|
protected void |
exit()
非推奨です。
クローラの終了処理です.
|
void |
run()
非推奨です。
クローラのメイン処理です.
|
protected final AbstractCrawlingServiceManager.CrawlingMode mode
protected CrawlingSolrManager solrManager
protected IntegratedCrawlingService service
protected final String loginGroupId
protected final String crawlerId
protected boolean isRunning
public AbstractCrawlingServiceManager(String crawlerId, String loginGroupId, AbstractCrawlingServiceManager.CrawlingMode mode) throws SolrCrawlerException
crawlerId
- クローラIDloginGroupId
- ログイングループIDmode
- クローリングモードSolrCrawlerException
- インスタンス生成時にエラーが発生した場合protected void execute() throws SolrCrawlerException
service
の各メソッドをコールします.SolrCrawlerException
- メイン処理に失敗した場合protected void exit() throws SolrCrawlerException
SolrCrawlerException
- commitまたはoptimize処理に失敗した場合public void run() throws SolrCrawlerException
SolrCrawlerException
- クローラ処理にて例外が発生した場合Copyright © 2012 NTT DATA INTRAMART CORPORATION