Class ReportManager
java.lang.Object
org.apache.hadoop.ozone.container.common.report.ReportManager
ReportManager is responsible for managing all the
ReportPublisher
and also provides ScheduledExecutorService to ReportPublisher
which should be used for scheduling the reports.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidinit()Initializes ReportManager, also initializes all the configured report publishers.static ReportManager.BuildernewBuilder(org.apache.hadoop.hdds.conf.ConfigurationSource conf) Returns newReportManager.Builderwhich can be used to construct.voidshutdown()Shutdown the ReportManager.
-
Method Details
-
init
public void init()Initializes ReportManager, also initializes all the configured report publishers. -
shutdown
public void shutdown()Shutdown the ReportManager. -
newBuilder
public static ReportManager.Builder newBuilder(org.apache.hadoop.hdds.conf.ConfigurationSource conf) Returns newReportManager.Builderwhich can be used to construct.ReportManager- Parameters:
conf- - Conf- Returns:
- builder - Builder.
-