|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.portal.instrumentation.PortletTracker
public class PortletTracker
Concrete class to track all portlet executions, both at a global level and at a per-portlet level
Method Summary | |
---|---|
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()
|
PortletMetric |
getGlobalMetric()
Returns the metric representing all portlet executions, lumped together |
protected static PortletTracker |
getInstance()
|
PortletMetric |
getMetric(java.lang.String key)
Returns the metric representing only the executions of a specified portlet |
java.util.Set<java.lang.String> |
getPortletKeys()
Returns the set of all portlet keys being tracked |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
protected static PortletTracker getInstance()
protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public PortletMetric getGlobalMetric()
public PortletMetric getMetric(java.lang.String key)
key
- the key for the portlet, typically the portlet name
public java.util.Set<java.lang.String> getPortletKeys()
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 Portlet
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |