Package com.day.cq.statistics
Interface StatisticsService
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Adds an entry to the statistics workspace.getPath()Deprecated.Deprecated.Runs a report and returns the result of the report.Deprecated.Runs a report and returns the result of the report.
-
Method Details
-
runReport
Deprecated.Runs a report and returns the result of the report. Please note that this implementation serializes access to the underlying session that runs the report. For improved concurrency, userunReport(Session, Report)instead and provide your own session. This method is thread-safe.- Parameters:
report- the report to run.- Returns:
- the result of the report.
- Throws:
RepositoryException- if an error occurs while reading from the workspace.
-
runReport
Deprecated.Runs a report and returns the result of the report. This method is thread-safe.- Parameters:
session- The Session to access the data from the repository to generate the reportreport- the report to run.- Returns:
- the result of the report.
- Throws:
RepositoryException- if an error occurs while reading from the workspace.
-
addEntry
Deprecated.Adds an entry to the statistics workspace.- Parameters:
entry- the entry to add.- Throws:
RepositoryException- if an error occurs while writing to the workspace.
-
getPath
String getPath()Deprecated.- Returns:
- the path where statistics are written to.
-
StatisticsService...