This package contains the interfaces for ObjectGrid statistic related functions.
Overview
All of the ObjectGrid statistics modules are in this package. They allow the user
to monitor the status of a running ObjectGrid (local or distributed). This package also contains interfaces
for each of the different types of statistics. The types include count, percentage, time, and
other statistical types.
Statistic Enablement
The ObjectGrid can optionally record statistics information for various object instances. Statistics recording
can be enabled and disabled using several methods. In all cases, the statistics configuration is
performed using a statistics specification string or StatsSpec object, which controls which modules
to enable.
When running in a WebSphere Application Server environment, ObjectGrid statistics can be enabled using the
Performance Monitoring Infrastructure (PMI) service.
Local ObjectGrids
Local ObjectGrids include locally defined ObjectGrids and the local instance of a distributed ObjectGrid, where
the local client ObjectGrid is the near cache and the local server ObjectGrid is the ObjectGrid accessed directly
within the server process. The statistics specification is modified using the StatsAccessor object.
Dynamic distributed ObjectGrids
ObjectGrid servers can be deployed and managed dynamically. The statistics specification is set using the
statsSpec property in the server.properties file.
Static distributed ObjectGrids
ObjectGrid servers can be deployed using a static cluster deployment XML file. The statistics
specification is set using the statisticsEnabled and statisticsSpec attributes of the
cluster element of the static cluster deployment XML file.
Statistic Retrieval
The ObjectGrid allows retrieving statistics using several different methods depending on the topology
in which the ObjectGrid is deployed. All statistics are available using various statistics modules which
can be retrieved and introspected using several different methods, depending on the ObjectGrid deployment
topology.
Local ObjectGrids
Use the StatsAccessor programming interface to retrieve statistics modules for a locally accessible ObjectGrid.
Dynamic distributed ObjectGrids
When running in a dynamic deployment topology, the server statistic modules can be retrieved using the following methods:
Static distributed ObjectGrids
When running in a static deployment topology, the server statistic modules can be retrieved using the following methods: