com.atlassian.confluence.cache.analytics
Class CacheStatisticsEvent
java.lang.Object
com.atlassian.confluence.cache.analytics.CacheStatisticsEvent
public class CacheStatisticsEvent
- extends java.lang.Object
An event that contains a snapshot of a cache's statistics.
- Since:
- v5.3
Constructor Summary |
CacheStatisticsEvent(java.util.Date timestamp,
java.lang.String cacheName,
int hitPercentage,
long numberOfEntries,
int capacityUtilisationPercentage)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CacheStatisticsEvent
public CacheStatisticsEvent(java.util.Date timestamp,
java.lang.String cacheName,
int hitPercentage,
long numberOfEntries,
int capacityUtilisationPercentage)
getTimestamp
public java.util.Date getTimestamp()
getCacheName
public java.lang.String getCacheName()
getCapacityUtilisationPercentage
public int getCapacityUtilisationPercentage()
getHitPercentage
public int getHitPercentage()
getNumberOfEntries
public long getNumberOfEntries()
hasSameStatsAs
public boolean hasSameStatsAs(CacheStatisticsEvent that)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2003-2013 Atlassian. All Rights Reserved.