SMILA (incubation) API documentation

org.eclipse.smila.connectivity.framework.performancecounters
Class CrawlerPerformanceCounterHelper<AgentType extends ConnectivityPerformanceAgent>

java.lang.Object
  extended by org.eclipse.smila.connectivity.framework.performancecounters.ConnectivityPerformanceCounterHelperBase<AgentType>
      extended by org.eclipse.smila.connectivity.framework.performancecounters.CrawlerPerformanceCounterHelper<AgentType>
Type Parameters:
AgentType - real agent class

public class CrawlerPerformanceCounterHelper<AgentType extends ConnectivityPerformanceAgent>
extends ConnectivityPerformanceCounterHelperBase<AgentType>

The Class CrawlerPerformanceCounterHelper.


Field Summary
 
Fields inherited from class org.eclipse.smila.connectivity.framework.performancecounters.ConnectivityPerformanceCounterHelperBase
_agentClass, _controllerAgent, _instanceAgent, _log, _typeAgent
 
Constructor Summary
CrawlerPerformanceCounterHelper(DataSourceConnectionConfig configuration, int hashCode, java.lang.Class<AgentType> agentClass)
          Instantiates a new crawler performance counter helper.
 
Method Summary
protected  java.lang.String getdateConnectionIdSuffix()
          
protected  java.lang.String getPerformanceAgentCategory()
          
protected  java.lang.String getPerformanceAgentLocation()
          Sets the crawler start date.
protected  AgentType initAgent(ManagementAgentLocation location)
          Inits the agent.
 void setCrawlerEndDate(java.util.Date date)
          Deprecated. use setEndDate instead.
 void setCrawlerStartDate(java.util.Date date)
          Deprecated. use setStartDate instead.
 
Methods inherited from class org.eclipse.smila.connectivity.framework.performancecounters.ConnectivityPerformanceCounterHelperBase
addCriticalException, addException, addException, getInstanceAgent, increment, incrementAttachmentBytes, incrementBy, incrementDeltaIndices, incrementDeltaIndicesBy, incrementRecords, incrementRecordsBy, setEndDate, setImportRunId, setJobName, setStartDate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrawlerPerformanceCounterHelper

public CrawlerPerformanceCounterHelper(DataSourceConnectionConfig configuration,
                                       int hashCode,
                                       java.lang.Class<AgentType> agentClass)
Instantiates a new crawler performance counter helper.

Parameters:
configuration - the configuration
hashCode - the hash code
agentClass - the agent class
Method Detail

getPerformanceAgentLocation

protected java.lang.String getPerformanceAgentLocation()
Sets the crawler start date.

Specified by:
getPerformanceAgentLocation in class ConnectivityPerformanceCounterHelperBase<AgentType extends ConnectivityPerformanceAgent>
Returns:
the performance agent location.

getPerformanceAgentCategory

protected java.lang.String getPerformanceAgentCategory()

Specified by:
getPerformanceAgentCategory in class ConnectivityPerformanceCounterHelperBase<AgentType extends ConnectivityPerformanceAgent>
Returns:
the performance agent category.

getdateConnectionIdSuffix

protected java.lang.String getdateConnectionIdSuffix()

Specified by:
getdateConnectionIdSuffix in class ConnectivityPerformanceCounterHelperBase<AgentType extends ConnectivityPerformanceAgent>
Returns:
the data connection id suffix.

initAgent

protected AgentType initAgent(ManagementAgentLocation location)
Inits the agent.

Specified by:
initAgent in class ConnectivityPerformanceCounterHelperBase<AgentType extends ConnectivityPerformanceAgent>
Parameters:
location - the location
Returns:
the agent type

setCrawlerStartDate

@Deprecated
public void setCrawlerStartDate(java.util.Date date)
Deprecated. use setStartDate instead.

sets the crawler start date.

Parameters:
date - the start date

setCrawlerEndDate

@Deprecated
public void setCrawlerEndDate(java.util.Date date)
Deprecated. use setEndDate instead.

sets the crawler end date.

Parameters:
date - the end date

SMILA (incubation) API documentation