Interface CacheMBean

All Known Implementing Classes:
CacheMBeanImpl

public interface CacheMBean
A JMX interface for caches.
Since:
10.2
Version:
10.2
Author:
Luke
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the cache hit rate percentage.
    Returns the number of success requests made to this cache.
    Returns the cache name.
    Returns the number of requests made to this cache.
    Returns the number of items in the cache.
    Returns the cache type.
  • Method Details

    • getRequests

      Long getRequests()
      Returns the number of requests made to this cache.
      Returns:
      the number of requests
    • getHits

      Long getHits()
      Returns the number of success requests made to this cache.
      Returns:
      the number of hits
    • getName

      String getName()
      Returns the cache name.
      Returns:
      the name
    • getType

      String getType()
      Returns the cache type.
      Returns:
      the type name
    • getSize

      Long getSize()
      Returns the number of items in the cache.
      Returns:
      the number of items
    • getHitRate

      Float getHitRate()
      Returns the cache hit rate percentage.
      Returns:
      the percentage, or zero if no requests have been made