Java Reference
In-Depth Information
/**
* Get the object that the spider reports to.
*
* @return The object that spider reports to.
*/
public SpiderReportable getReport()
{
return this.report;
}
/**
* Generate basic status information about the spider.
*
* @return The status of the spider.
*/
public String getStatus()
{
StringBuilder result = new StringBuilder();
result.append("Start time:");
result.append(this.startTime.toString());
result.append('\n');
result.append("Stop time:");
result.append(this.stopTime.toString());
result.append('\n');
result.append("Minutes Elapsed:");
result.append((this.stopTime.getTime() -
this.startTime.getTime()) / 60000);
result.append('\n');
return result.toString();
}
/**
* Get the workload manager.
*
* @return The workload manager.
*/
public WorkloadManager getWorkloadManager()
{
return this.workloadManager;
}
/**
* Called to start the spider.
*
* @throws WorkloadException
Search WWH ::




Custom Search