Class PerformanceTimerTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- com.microstrategy.web.app.taglibs.AbstractNoBodyTag
-
- com.microstrategy.web.app.taglibs.PerformanceTimerTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class PerformanceTimerTag extends AbstractNoBodyTag
- Since:
- MicroStrategy Web 7.3.1 or earlier
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PerformanceTimerTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doStartTag()
Processes the start tag for this instance.AbstractNoBodyTagHelper
getHelper()
Method for retrieving the helper associated with the tag.void
setAction(java.lang.String value)
Indicates the action to be peformed by this tag, which indicates the type of JavaScript code that it will generate.void
setLogResults(java.lang.String value)
Indicates if the results should be logged at this time or not.void
setPageId(java.lang.String value)
Indicates the identifier for the page to be analyzed.-
Methods inherited from class com.microstrategy.web.app.taglibs.AbstractNoBodyTag
doEndTag, release
-
-
-
-
Method Detail
-
getHelper
public AbstractNoBodyTagHelper getHelper()
Method for retrieving the helper associated with the tag.- Specified by:
getHelper
in classAbstractNoBodyTag
- Returns:
- an instance of
AbstractNoBodyTagHelper
which will take care of processing and rendering the HTML contents associated with this tag.
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
Processes the start tag for this instance. The doStartTag() method assumes that all setter methods have been invoked before.- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classAbstractNoBodyTag
- Returns:
- SKIP_BODY since it does not want to process or display it.
- Throws:
javax.servlet.jsp.JspException
- if an error is risen when displaying the custom tag contents
-
setPageId
public void setPageId(java.lang.String value)
Indicates the identifier for the page to be analyzed.
Usage:
The log results obtained will make reference to this identifier, for it to be possible to collect multiple pages analyzed multiple times.- Parameters:
value
-String
value to identify the page analyzed.
-
setLogResults
public void setLogResults(java.lang.String value)
Indicates if the results should be logged at this time or not.
Usage:
This attribute should be specified as aboolean
. If the value isTrue
it means all the information from the timers that were stopped and recorded will be organized on a message, html page report of file, as indicated by the user on the application's configuration file.- Parameters:
value
-String
with valuetrue
if the statistics should now be obtained
-
setAction
public void setAction(java.lang.String value)
Indicates the action to be peformed by this tag, which indicates the type of JavaScript code that it will generate.
Usage:
The possible values of this attribute include:
- initialize> if the initialization has been requested
- start if the start timer has been asked for
- stop if the timer should now be stopped and the information for the processing time for this counter should be collected.
- Parameters:
value
-String
with the action requested by the user
-
-