Summary: The Local View/Cache Monitoring
SummaryThe Local View/Cache JMX Monitor monitors the number of objects stored within the client side cache and the activities performed with it. You can use JConsole to graph the number of objects within the local view/cache and other exposed statistics while the application is running. The Local View/Cache JMX Monitor exposing the following statistics:
Using the Local View/Cache JMX MonitorTo use the Local View/Cache JMX Monitor: <os-core:space id="space" url="jini://*/*/mySpace" /> <os-core:local-cache id="localCacheSpace" space="space"> <os-core:properties> <props> <prop key="space-config.filters.Statistics.enabled">true</prop> </props> </os-core:properties> </os-core:local-cache> <os-core:giga-space id="gigaSpace1" space="localCacheSpace"/> <os-core:space id="space2" url="jini://*/*/mySpace2" /> <os-core:local-cache id="localCacheSpace2" space="space2"> <os-core:properties> <props> <prop key="space-config.filters.Statistics.enabled">true</prop> </props> </os-core:properties> </os-core:local-cache> <os-core:giga-space id="gigaSpace2" space="localCacheSpace2"/> <bean id="gsClientCacheMonitor" class="com.gigaspaces.clientcachemonitor.GigaSpacesClientCacheJMXMonitor"> <property name="gigaSpaceList" > <list> <ref bean="gigaSpace1"/> <ref bean="gigaSpace2"/> </list> </property> </bean> You can specify up to 5 local View/Cache GigaSpace beans as part of the gigaSpaceList. 4. Start JConsole for your application JVM, move into the MBean Tab and select the GigaSpacesClientCacheJMXMonitor under the com.gigaspaces.clientcachemonitor.
|
![]() |
GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence |