WAS v8.5 > Reference > Sets

Dynamic cache PMI counter definitions

The dynamic cache statistics interface is defined as WSDynamicCacheStats under the com\ibm\websphere\pmi\stat package.

Dynamic cache statistics are structured as follows in the PMI tree:

__Dynamic Caching+
  |
  |__<Servlet: instance_1>     |__Templates+
      |__<template_1>       |__<template_2>     |__Disk+
      |__<Disk Offload Enabled>   |
  |__<Object: instance_2>     |__Object Cache+
      |__<Counters> + indicates logical group 

StatDescriptor locates and accesses particular statistics in the PMI tree. For example:

  1. StatDescriptor to represent statistics for cache servlet: instance_1 templates group template_1: new StatDescriptor (new String[] {WSDynamicCacheStats.NAME, "Servlet: instance1", WSDynamicCacheStats.TEMPLATE_GROUP, "template_1"});
  2. StatDescriptor to represent statistics for cache servlet: instance_1 disk group Disk Offload Enabled: new StatDescriptor (new String[] {WSDynamicCacheStats.NAME, "Servlet: instance_1", WSDynamicCacheStats.DISK_GROUP, WSDynamicCacheStats.DISK_OFFLOAD_ENABLED});
  3. StatDescriptor to represent statistics for cache object: instance2 object cache group Counters: new StatDescriptor (new String[] {WSDynamicCacheStats.NAME, "Object: instance_2", WSDynamicCacheStats.OBJECT_GROUP, WSDynamicCacheStats.OBJECT_COUNTERS});

Cache instance names are prepended with cache type ("Servlet: " or "Object: ").


Counter definitions for Servlet Cache

Name of PMI statistics Path Description Version
WSDynamicCacheStats.ObjectsOnDisk WSDynamicCacheStats.NAME - “Servlet: cache_instance_1“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The current number of cache entries on disk. 6.1
WSDynamicCacheStats.HitsOnDisk WSDynamicCacheStats.NAME - “Servlet: cache_instance_1“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The number of requests for cacheable objects served from disk. 6.1
WSDynamicCacheStats.ExplicitInvalidationsFromDisk WSDynamicCacheStats.NAME - “Servlet: cache_instance_1“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The number of explicit invalidations resulting in the removal of entries from disk. 6.1
WSDynamicCacheStats.TimeoutInvalidationsFromDisk WSDynamicCacheStats.NAME - “Servlet: cache_instance_1“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The number of disk timeouts. 6.1
WSDynamicCacheStats PendingRemovalFromDisk WSDynamicCacheStats.NAME - “Servlet: cache_instance_1“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The current number of pending entries that are to be removed from disk. 6.1
WSDynamicCacheStats.DependencyIdsOnDisk WSDynamicCacheStats.NAME - “Servlet: cache_instance_1“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The current number of dependency ID that are on disk. 6.1
WSDynamicCacheStats.DependencyIdsBufferedForDisk WSDynamicCacheStats.NAME - “Servlet: cache_instance_1“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The current number of dependency IDs that are buffered for the disk. 6.1
WSDynamicCacheStats.DependencyIdsOffloadedToDisk WSDynamicCacheStats.NAME - “Servlet: cache_instance_1“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The number of dependency IDs that are offloaded to disk. 6.1
WSDynamicCacheStats.DependencyIdBasedInvalidationsFromDisk WSDynamicCacheStats.NAME - “Servlet: cache_instance_1“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The number of dependency ID-based invalidations. 6.1
WSDynamicCacheStats.TemplatesOnDisk WSDynamicCacheStats.NAME - “Servlet: cache_instance_1“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The current number of templates that are on disk. 6.1
WSDynamicCacheStats.TemplatesBufferedForDisk WSDynamicCacheStats.NAME - “Servlet: cache_instance_1“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The current number of templates that are buffered for the disk. 6.1
WSDynamicCacheStats.TemplatesOffloadedToDisk WSDynamicCacheStats.NAME - “Servlet: cache_instance_1“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The number of templates that are offloaded to disk. 6.1
WSDynamicCacheStats.TemplateBasedInvalidationsFromDisk WSDynamicCacheStats.NAME - “Servlet: cache_instance_1“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The number of template-based invalidations. 6.1
WSDynamicCacheStats.GarbageCollectorInvalidationsFromDisk WSDynamicCacheStats.NAME - “Servlet: cache_instance_1“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The number of garbage collector invalidations resulting in the removal of entries from disk cache due to high threshold has been reached. 6.1
WSDynamicCacheStats.OverflowInvalidationsFromDisk WSDynamicCacheStats.NAME - “Servlet: cache_instance_1 “ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The number of invalidations resulting in the removal of entries from disk due to exceeding the disk cache size or disk cache size in GB limit. 6.1


Counter definitions for Object Cache

Name of PMI statistics Path Description Version
WSDynamicCacheStats.ObjectsOnDisk WSDynamicCacheStats.NAME - “Object: cache_instance_2“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The current number of cache entries on disk. 6.1
WSDynamicCacheStats.HitsOnDisk WSDynamicCacheStats.NAME - “Object: cache_instance_2“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The number of requests for cacheable objects served from disk. 6.1
WSDynamicCacheStats.ExplicitInvalidationsFromDisk WSDynamicCacheStats.NAME - “Object: cache_instance_2“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The number of explicit invalidations resulting in the removal of entries from disk. 6.1
WSDynamicCacheStats.TimeoutInvalidationsFromDisk WSDynamicCacheStats.NAME - “Object: cache_instance_2“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The number of disk timeouts. 6.1
WSDynamicCacheStats PendingRemovalFromDisk WSDynamicCacheStats.NAME - “Object: cache_instance_2“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The current number of pending entries that are to be removed from disk. 6.1
WSDynamicCacheStats.DependencyIdsOnDisk WSDynamicCacheStats.NAME - “Object: cache_instance_2“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The current number of dependency ID that are on disk. 6.1
WSDynamicCacheStats.DependencyIdsBufferedForDisk WSDynamicCacheStats.NAME - “Object: cache_instance_2“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The current number of dependency IDs that are buffered for the disk. 6.1
WSDynamicCacheStats.DependencyIdsOffloadedToDisk WSDynamicCacheStats.NAME - “Object: cache_instance_2“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The number of dependency IDs that are offloaded to disk. 6.1
WSDynamicCacheStats.DependencyIdBasedInvalidationsFromDisk WSDynamicCacheStats.NAME - “Object: cache_instance_2“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The number of dependency ID-based invalidations. 6.1
WSDynamicCacheStats.TemplatesOnDisk WSDynamicCacheStats.NAME - “Object: cache_instance_2“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The current number of templates that are on disk. 6.1
WSDynamicCacheStats.TemplatesBufferedForDisk WSDynamicCacheStats.NAME - “Object: cache_instance_2“ - WSDynamicCacheStats.DISK_GROUP / -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The current number of templates that are buffered for the disk. 6.1
WSDynamicCacheStats.TemplatesOffloadedToDisk WSDynamicCacheStats.NAME - “Object: cache_instance_2“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The number of templates that are offloaded to disk. 6.1
WSDynamicCacheStats.TemplateBasedInvalidationsFromDisk WSDynamicCacheStats.NAME - “Object: cache_instance_2“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The number of template-based invalidations. 6.1
WSDynamicCacheStats.GarbageCollectorInvalidationsFromDisk WSDynamicCacheStats.NAME - “Object: cache_instance_2“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The number of garbage collector invalidations resulting in the removal of entries from disk cache due to high threshold has been reached. 6.1
WSDynamicCacheStats.OverflowInvalidationsFromDisk WSDynamicCacheStats.NAME - “Object: cache_instance_2“ - WSDynamicCacheStats.DISK_GROUP -“ WSDynamicCacheStats.DISK_OFFLOAD_ENABLED The number of invalidations resulting in the removal of entries from disk due to exceeding the disk cache size or disk cache size in GB limit. 6.1


Related concepts:

Custom PMI API


Related


Develop custom PMI monitoring applications


Reference:

PMI data organization


+

Search Tips   |   Advanced Search