|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.portal.instrumentation.MetricsLogger
public class MetricsLogger
Central point for logging performance-related messages
Method Summary | |
---|---|
void |
addCachedDataQuery(RequestTracker requestTracker,
java.lang.String dataSourceName,
com.endeca.navigation.ENEQuery query,
com.endeca.navigation.ENEQueryResults results,
long ms)
Tracks a single query to an MDEX DataSource that was satisfied by application cache |
void |
addCachedDataQuery(RequestTracker requestTracker,
java.lang.String dataSourceName,
com.endeca.mdex.conversation.Request query,
com.endeca.mdex.conversation.Results results,
long ms)
|
void |
addDataQuery(RequestTracker requestTracker,
java.lang.String dataSourceName,
com.endeca.navigation.ENEQuery query,
com.endeca.navigation.ENEQueryResults results,
long ms)
Tracks a single uncached query to an MDEX DataSource |
void |
addDataQuery(RequestTracker requestTracker,
java.lang.String dataSourceName,
com.endeca.mdex.conversation.Request query,
com.endeca.mdex.conversation.Results results,
long ms)
|
void |
addPortletExecution(RequestTracker requestTracker,
javax.portlet.GenericPortlet portlet,
javax.portlet.PortletMode mode,
javax.portlet.WindowState windowState,
long ms)
Tracks a single portlet execution |
protected java.lang.Object |
clone()
|
protected static MetricsLogger |
getInstance()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
protected static MetricsLogger getInstance()
protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public void addPortletExecution(RequestTracker requestTracker, javax.portlet.GenericPortlet portlet, javax.portlet.PortletMode mode, javax.portlet.WindowState windowState, long ms)
PortletInstrumentor
addPortletExecution
in interface PortletInstrumentor
portlet
- the portlet that executedmode
- the PortletMode in which the portlet executedms
- the execution time of the Portletpublic void addDataQuery(RequestTracker requestTracker, java.lang.String dataSourceName, com.endeca.navigation.ENEQuery query, com.endeca.navigation.ENEQueryResults results, long ms)
DataSourceInstrumentor
addDataQuery
in interface DataSourceInstrumentor
dataSourceName
- the key/description of the DataSourcequery
- The query object that executedresults
- The results of the query that executedms
- The execution time of the querypublic void addCachedDataQuery(RequestTracker requestTracker, java.lang.String dataSourceName, com.endeca.navigation.ENEQuery query, com.endeca.navigation.ENEQueryResults results, long ms)
DataSourceInstrumentor
addCachedDataQuery
in interface DataSourceInstrumentor
dataSourceName
- the key/description of the DataSourcequery
- The query object that executedresults
- The results of the query that executedms
- The execution time of the querypublic void addDataQuery(RequestTracker requestTracker, java.lang.String dataSourceName, com.endeca.mdex.conversation.Request query, com.endeca.mdex.conversation.Results results, long ms)
public void addCachedDataQuery(RequestTracker requestTracker, java.lang.String dataSourceName, com.endeca.mdex.conversation.Request query, com.endeca.mdex.conversation.Results results, long ms)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |