|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.connectivity.framework.performancecounters.ConnectivityPerformanceCounterHelperBase<AgentType>
AgentType - real agent classpublic abstract class ConnectivityPerformanceCounterHelperBase<AgentType extends CrawlerPerformanceAgent>
The Class ConnectivityPerformanceCounterHelperBase.
| Field Summary | |
|---|---|
protected java.lang.Class<AgentType> |
_agentClass
The _agent class. |
protected CrawlerControllerPerformanceAgent |
_controllerAgent
The _controller agent. |
protected AgentType |
_instanceAgent
The _instance agent. |
protected Log |
_log
The _log. |
protected AgentType |
_typeAgent
The _type agent. |
| Constructor Summary | |
|---|---|
ConnectivityPerformanceCounterHelperBase(DataSourceConnectionConfig configuration,
int hashCode,
java.lang.Class<AgentType> agentClass)
Instantiates a new crawler performance counter helper. |
|
| Method Summary | |
|---|---|
void |
addCriticalException(java.lang.Throwable ex)
Adds the critical exception. |
void |
addException(java.lang.Throwable ex)
Adds the exception. |
void |
addException(java.lang.Throwable exception,
boolean isCritical)
Adds the exception. |
void |
increment(java.lang.String name)
Increment. |
void |
incrementAttachmentBytes(long value)
Increment attachment bytes. |
void |
incrementBy(java.lang.String name,
long value)
Increment by. |
void |
incrementDeltaIndices()
Increment delta indices. |
void |
incrementDeltaIndicesBy(long value)
Increment delta indices by. |
void |
incrementRecords()
Increment records. |
void |
incrementRecordsBy(long value)
Increment records by. |
protected abstract AgentType |
initAgent(ManagementAgentLocation location)
Inits the agent. |
void |
setCrawlerEndDate(java.util.Date endDate)
Sets the crawler end date. |
void |
setCrawlerStartDate(java.util.Date date)
Sets the crawler start date. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Log _log
protected CrawlerControllerPerformanceAgent _controllerAgent
protected final AgentType extends CrawlerPerformanceAgent _typeAgent
protected final AgentType extends CrawlerPerformanceAgent _instanceAgent
protected final java.lang.Class<AgentType extends CrawlerPerformanceAgent> _agentClass
| Constructor Detail |
|---|
public ConnectivityPerformanceCounterHelperBase(DataSourceConnectionConfig configuration,
int hashCode,
java.lang.Class<AgentType> agentClass)
configuration - the configurationhashCode - the hash codeagentClass - the agent class| Method Detail |
|---|
public void setCrawlerStartDate(java.util.Date date)
date - the new start datepublic void setCrawlerEndDate(java.util.Date endDate)
endDate - the new end dateprotected abstract AgentType initAgent(ManagementAgentLocation location)
location - the location
public void incrementDeltaIndices()
public void incrementDeltaIndicesBy(long value)
value - the valuepublic void incrementAttachmentBytes(long value)
value - the valuepublic void incrementRecords()
public void incrementRecordsBy(long value)
value - the valuepublic void increment(java.lang.String name)
name - the name
public void incrementBy(java.lang.String name,
long value)
name - the namevalue - the valuepublic void addException(java.lang.Throwable ex)
ex - the expublic void addCriticalException(java.lang.Throwable ex)
ex - the ex
public void addException(java.lang.Throwable exception,
boolean isCritical)
exception - the exceptionisCritical - the is critical
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||