Class PerformanceMetrics
java.lang.Object
com.appiancorp.suiteapi.process.analytics2.PerformanceMetrics
- All Implemented Interfaces:
Serializable
This object represents the metrics for the generated report. It contains an array of
PerformanceAttributes that are executed while generating the report. The object contains various
timings related to the generation of the report.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the timestamp when the performance metrics was generated for the report.doubleReturns the maximum time allowed for generating the report in the shard.doubleReturns the maximum time allowed for generating the report.doubleDeprecated.Returns an array of performance attributes that were applied during report generation.Returns the name of the report for which the performance metrics belong to.doubleReturns the total time taken to generate the report.Returns the name of the user that executed the reportintReturns the next order integer value to be used.voidsetExecutionTimestamp(Timestamp executionTimestamp_) Sets the timestamp of PerformanceMetrics/report generation in the shard.voidsetMaximumReportTime(double maximumReportTime_) Sets the maximum time allowed for generating the report.voidsetMaximumReportTimeMain(double maximumReportTimeMain_) Sets the maximum time allowed for generating the report.voidsetMaximumReportTimeMaster(double maximumReportTimeMain_) Deprecated.usesetMaximumReportTimeMain(double)insteadvoidsetOrder(AtomicInteger order) voidsetPerformanceAttributes(PerformanceAttributes[] performanceAttributes_) voidsetReportName(String reportName_) voidsetTotalTime(double totalTime_) voidsetUsername(String username_) toString()
-
Constructor Details
-
PerformanceMetrics
public PerformanceMetrics()
-
-
Method Details
-
getExecutionTimestamp
Gets the timestamp when the performance metrics was generated for the report. This is same as time when report was generated. -
setExecutionTimestamp
Sets the timestamp of PerformanceMetrics/report generation in the shard. -
getMaximumReportTime
public double getMaximumReportTime()Returns the maximum time allowed for generating the report in the shard. -
setMaximumReportTime
public void setMaximumReportTime(double maximumReportTime_) Sets the maximum time allowed for generating the report. -
getMaximumReportTimeMaster
Deprecated.usegetMaximumReportTimeMain()insteadReturns the maximum time allowed for generating the report. -
getMaximumReportTimeMain
public double getMaximumReportTimeMain()Returns the maximum time allowed for generating the report. -
setMaximumReportTimeMaster
Deprecated.usesetMaximumReportTimeMain(double)insteadSets the maximum time allowed for generating the report. -
setMaximumReportTimeMain
public void setMaximumReportTimeMain(double maximumReportTimeMain_) Sets the maximum time allowed for generating the report. -
getPerformanceAttributes
Returns an array of performance attributes that were applied during report generation. -
setPerformanceAttributes
- See Also:
-
getReportName
Returns the name of the report for which the performance metrics belong to. -
setReportName
- See Also:
-
getTotalTime
public double getTotalTime()Returns the total time taken to generate the report. -
setTotalTime
public void setTotalTime(double totalTime_) - See Also:
-
getUsername
Returns the name of the user that executed the report -
setUsername
- See Also:
-
incrementOrder
public int incrementOrder()Returns the next order integer value to be used.- Returns:
-
setOrder
-
toString
-
getMaximumReportTimeMain()instead