Class JCacheInformations

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

public class JCacheInformations extends Object implements Serializable
Informations sur un cache de données JCache (JSR107). 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.
Author:
James Pether Sörling, Emeric Vernat
See Also:
  • Method Details

    • buildJCacheInformationsWithKeys

      public static JCacheInformations buildJCacheInformationsWithKeys(String cacheId)
    • getName

      public String getName()
    • getCacheHits

      public long getCacheHits()
    • getCacheMisses

      public long getCacheMisses()
    • getHitsRatio

      public int getHitsRatio()
    • isAvailableByApi

      public boolean isAvailableByApi()
    • getCacheKeys

      public List<?> getCacheKeys()
    • toString

      public String toString()
      Overrides:
      toString in class Object