第9章 Data Grid 統計および JMX 監視の有効化および設定
Data Grid は、JMX MBean をエクスポートしたり、Cache Manager およびキャッシュ統計を提供できます。
9.1. リモートキャッシュでの統計の有効化 リンクのコピーリンクがクリップボードにコピーされました!
リンクのコピーリンクがクリップボードにコピーされました!
Data Grid Server は、デフォルトのキャッシュマネージャーの統計を自動的に有効にします。ただし、キャッシュの統計を明示的に有効にする必要があります。
手順
- Data Grid 設定を開いて編集します。
-
statistics
属性またはフィールドを追加し、true
を値として指定します。 - Data Grid 設定を保存して閉じます。
リモートキャッシュの統計
XML
<distributed-cache statistics="true" />
<distributed-cache statistics="true" />
JSON
{ "distributed-cache": { "statistics": "true" } }
{
"distributed-cache": {
"statistics": "true"
}
}
YAML
distributedCache: statistics: true
distributedCache:
statistics: true