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
-
Method Summary
Modifier and TypeMethodDescriptionGets the timestamp when the performance metrics was generated for the report.double
Returns the maximum time allowed for generating the report in the shard.double
Returns the maximum time allowed for generating the report.double
Deprecated.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.double
Returns the total time taken to generate the report.Returns the name of the user that executed the reportint
Returns the next order integer value to be used.void
setExecutionTimestamp
(Timestamp executionTimestamp_) Sets the timestamp of PerformanceMetrics/report generation in the shard.void
setMaximumReportTime
(double maximumReportTime_) Sets the maximum time allowed for generating the report.void
setMaximumReportTimeMain
(double maximumReportTimeMain_) Sets the maximum time allowed for generating the report.void
setMaximumReportTimeMaster
(double maximumReportTimeMain_) Deprecated.usesetMaximumReportTimeMain(double)
insteadvoid
setOrder
(AtomicInteger order) void
setPerformanceAttributes
(PerformanceAttributes[] performanceAttributes_) void
setReportName
(String reportName_) void
setTotalTime
(double totalTime_) void
setUsername
(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