レポートは、JConsoleまたはJMX HTTP Adapterを使用して必要に応じて実行できます。Reporter MBean操作には、runReport(String sReportPath)
メソッドが含まれます。レポート・パスには、coherence.jar
内のリソース、またはファイルURLを指定できます。
図39-1は、JConsoleでのReporterの操作を示しています。
tangosol.coherence.management.report.autostart
システム・プロパティをtrue
に設定すると、ノードを起動したときにReportControl
MBeanの実行を開始できます。このプロパティは、tangosol.coherence.management.report.group
システム・プロパティ、およびカスタムMBean XMLファイルの構成とともに使用する必要があります。
例39-1では、tangosol.coherence.management.report.autostart
システム・プロパティがtrue
に設定されています。
レポート・グループのシステム・プロパティtangosol.coherence.management.report.group
は、指定された構成ファイルを使用してReportControl
MBeanを構成します。このプロパティは、tangosol.coherence.management.report.autostart
プロパティ、およびカスタムMBean XMLファイルの構成に関連付けて使用する必要があります。
例39-2では、tangosol.coherence.management.report.group
プロパティはカスタムMBean XMLファイルreport-batch.xml
を指しています。