public interface StatisticReport
| Modifier and Type | Method and Description |
|---|---|
PeriodInfo[] |
getInfo()
Returns all the information of the report, represented as period and the value of the statistic for each period.
|
PeriodInfo[] |
getInfo(java.util.Date periodStart,
java.util.Date periodEnd)
Returns the information of the report, collected for some period.
|
java.lang.String[] |
getSummaryNames()
Returns names of predefined (summary) statistic values.
|
java.lang.Number |
getSummaryValue(java.lang.String summaryName)
Given a summary name returns its value.
|
java.lang.String |
getType()
Returns the report type.
|
java.lang.String getType()
ManagementExceptionPeriodInfo[] getInfo() throws ManagementException
minPeriodHint - parameter specifies a hint for the smallest period duration (i.e. the caller is
interested in dividing of the information in chunks with duration not less then this period).
However the returned periods could be lesser (for instance if minPeriodHint is bigger then the
time the statistics has been recorded). It is in milliseconds.ManagementExceptionPeriodInfo[] getInfo(java.util.Date periodStart, java.util.Date periodEnd) throws ManagementException
periodStart - start of the period for which values will be returnedperiodEnd - end of the period for which values will be returnedminPeriodHint - parameter specifies a hint for the smallest period duration (i.e. the caller is
interested in dividing of the information in chunks with duration not less then this period).
However the returned periods could be lesser (for instance if minPeriodHint is bigger then the
time the statistics has been recorded). It is in milliseconds.ManagementExceptionjava.lang.String[] getSummaryNames()
throws ManagementException
ManagementExceptionjava.lang.Number getSummaryValue(java.lang.String summaryName)
throws ManagementException
summaryName - the name of the summaryManagementExceptionCopyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.