public class CrawlerStatus extends Object
PCSHealthMonitor
.Constructor and Description |
---|
CrawlerStatus()
Default Constructor.
|
CrawlerStatus(CrawlInfo info,
String status,
String crawlHost)
Constructs a new CrawlerStatus with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
getCrawlHost() |
CrawlInfo |
getInfo() |
String |
getStatus() |
void |
setCrawlHost(String crawlHost) |
void |
setInfo(CrawlInfo info) |
void |
setStatus(String status) |
public CrawlerStatus()
public CrawlerStatus(CrawlInfo info, String status, String crawlHost)
info
- The CrawlerInfo
describing this Crawler.status
- One of PCSHealthMonitorMetKeys.STATUS_UP
, or
PCSHealthMonitorMetKeys.STATUS_DOWN
.crawlHost
- The host that the Crawler is running on.public CrawlInfo getInfo()
public void setInfo(CrawlInfo info)
info
- the info to setpublic String getStatus()
public void setStatus(String status)
status
- the status to setpublic String getCrawlHost()
public void setCrawlHost(String crawlHost)
crawlHost
- the crawlHost to setCopyright © 1999–2017 Apache OODT. All rights reserved.