SMILA 1.0 API documentation

org.eclipse.smila.connectivity.framework.performancecounters
Class ConnectivityPerformanceAgent

java.lang.Object
  extended by org.eclipse.smila.connectivity.framework.performancecounters.ConnectivityPerformanceAgentBase
      extended by org.eclipse.smila.connectivity.framework.performancecounters.ConnectivityPerformanceAgent
All Implemented Interfaces:
CrawlerControllerPerformanceAgent, ManagementAgent
Direct Known Subclasses:
FileSystemCrawlerPerformanceAgent, JdbcCrawlerPerformanceAgent, WebCrawlerPerformanceAgent

public class ConnectivityPerformanceAgent
extends ConnectivityPerformanceAgentBase

The Class CrawlerPerformanceAgent.


Field Summary
 
Fields inherited from class org.eclipse.smila.connectivity.framework.performancecounters.ConnectivityPerformanceAgentBase
KBYTES, MILLISECS_IN_SEC
 
Constructor Summary
ConnectivityPerformanceAgent()
          Instantiates a new crawler performance agent.
 
Method Summary
 double getAverageAttachmentTransferRate()
          
 java.util.Date getEndDate()
          Gets the end date.
 java.lang.String getImportRunId()
           
 java.lang.String getJobName()
          Gets the job name.
 double getOverallAverageDeltaIndicesProcessingTime()
          
 double getOverallAverageRecordsProcessingTime()
          
 java.util.Date getStartDate()
          Gets the start date.
 void setEndDate(java.util.Date endDate)
          Sets the end date.
 void setImportRunId(java.lang.String importRunId)
           
 void setJobName(java.lang.String jobName)
          Sets the job name.
 void setStartDate(java.util.Date date)
          Sets the start date.
 AnyMap toAny()
           
 
Methods inherited from class org.eclipse.smila.connectivity.framework.performancecounters.ConnectivityPerformanceAgentBase
getAttachmentBytesTransfered, getAttachmentTransferRate, getAverageDeltaIndicesProcessingTime, getAverageRecordsProcessingTime, getDeltaIndices, getErrorBuffer, getExceptions, getExceptionsCritical, getRecords
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectivityPerformanceAgent

public ConnectivityPerformanceAgent()
Instantiates a new crawler performance agent.

Method Detail

getAverageAttachmentTransferRate

public double getAverageAttachmentTransferRate()

See Also:
.CrawlerControllerPerformanceAgent#getAverageAttachmentTransferRate()

getOverallAverageDeltaIndicesProcessingTime

public double getOverallAverageDeltaIndicesProcessingTime()

See Also:
.CrawlerControllerPerformanceAgent#getOverallAverageDeltaIndicesProcessingTime()

getOverallAverageRecordsProcessingTime

public double getOverallAverageRecordsProcessingTime()

See Also:
.CrawlerControllerPerformanceAgent#getOverallAverageRecordsProcessingTime()

getStartDate

public java.util.Date getStartDate()
Gets the start date.

Returns:
the start date

setStartDate

public void setStartDate(java.util.Date date)
Sets the start date.

Parameters:
date - the new start date

getEndDate

public java.util.Date getEndDate()
Gets the end date.

Returns:
the end date

setJobName

public void setJobName(java.lang.String jobName)
Sets the job name.

Parameters:
jobName - the new job name

getJobName

public java.lang.String getJobName()
Gets the job name.

Returns:
the job name

setEndDate

public void setEndDate(java.util.Date endDate)
Sets the end date.

Parameters:
endDate - the new end date

getImportRunId

public java.lang.String getImportRunId()
Returns:
the import run id.

setImportRunId

public void setImportRunId(java.lang.String importRunId)
Parameters:
importRunId - the importRunId

toAny

public AnyMap toAny()
Returns:
AnyMap representation of the counters.

SMILA 1.0 API documentation