Class CacheInformations
java.lang.Object
net.bull.javamelody.internal.model.CacheInformations
- All Implemented Interfaces:
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 Summary
Modifier and TypeMethodDescriptionstatic CacheInformationsbuildCacheInformationsWithKeys(String cacheId) longList<?>longintlongintlonglonggetName()longtoString()
-
Method Details
-
buildCacheInformationsWithKeys
-
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
-
getCacheKeys
-
toString
-