org.eclipse.smila.connectivity.framework.performancecounters
Class AgentPerformanceCounterHelper<AgentType extends ConnectivityPerformanceAgent>
java.lang.Object
org.eclipse.smila.connectivity.framework.performancecounters.ConnectivityPerformanceCounterHelperBase<AgentType>
org.eclipse.smila.connectivity.framework.performancecounters.AgentPerformanceCounterHelper<AgentType>
- Type Parameters:
AgentType - real agent class
public class AgentPerformanceCounterHelper<AgentType extends ConnectivityPerformanceAgent>
- extends ConnectivityPerformanceCounterHelperBase<AgentType>
The Class CrawlerPerformanceCounterHelper.
| 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 |
AgentPerformanceCounterHelper
public AgentPerformanceCounterHelper(DataSourceConnectionConfig configuration,
int hashCode,
java.lang.Class<AgentType> agentClass)
- Instantiates a new crawler performance counter helper.
- Parameters:
configuration - the configurationhashCode - the hash codeagentClass - the agent class
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