public class ReportManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ReportManager.Reporter
Used to generate "state of the server" reports.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_TYPE
A string constant representing the default report.
|
static String |
PROFILE_TYPE
A string constant representing a report with detailed profiling information.
|
| Constructor and Description |
|---|
ReportManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
activatePeriodicReport(RootDObjectManager omgr)
Starts up our periodic report generation task.
|
String |
generateReport()
Generate a default state of server report.
|
String |
generateReport(String type)
Generates a report for all system services registered as a
ReportManager.Reporter. |
void |
registerReporter(ReportManager.Reporter reporter)
Registers a reporter for the default state of server report.
|
void |
registerReporter(String type,
ReportManager.Reporter reporter)
Registers a reporter for the report of the specified type.
|
public static final String DEFAULT_TYPE
public static final String PROFILE_TYPE
public void activatePeriodicReport(RootDObjectManager omgr)
public void registerReporter(ReportManager.Reporter reporter)
public void registerReporter(String type, ReportManager.Reporter reporter)
public String generateReport()
public String generateReport(String type)
ReportManager.Reporter.Copyright © 2015. All rights reserved.