Class CacheInformations

java.lang.Object
net.bull.javamelody.internal.model.CacheInformations
All Implemented Interfaces:
Serializable

public class CacheInformations extends Object implements Serializable
Informations sur un cache de données. L'état d'une instance est initialisé à son instanciation et non mutable; il est donc de fait thread-safe. Cet état est celui d'un cache à un instant t. Les instances sont sérialisables pour pouvoir être transmises au serveur de collecte. Pour l'instant seul ehcache est géré.
Author:
Emeric Vernat
See Also:
  • Method Details

    • buildCacheInformationsWithKeys

      public static CacheInformations buildCacheInformationsWithKeys(String cacheId)
    • getName

      public String getName()
    • getInMemoryObjectCount

      public long getInMemoryObjectCount()
    • getInMemoryPercentUsed

      public long getInMemoryPercentUsed()
    • getOnDiskObjectCount

      public long getOnDiskObjectCount()
    • getInMemoryHits

      public long getInMemoryHits()
    • getCacheHits

      public long getCacheHits()
    • getCacheMisses

      public long getCacheMisses()
    • getInMemoryHitsRatio

      public int getInMemoryHitsRatio()
    • getHitsRatio

      public int getHitsRatio()
    • getConfiguration

      public String getConfiguration()
    • getCacheKeys

      public List<?> getCacheKeys()
    • toString

      public String toString()
      Overrides:
      toString in class Object