Dashboard Builder Commons 6.0.0.Beta1

org.jboss.dashboard.database.cache.custom
Interface CacheStatistics


public interface CacheStatistics


Method Summary
 float getAverageOccupation()
          Determine the average occupation of the cache.
 float getAverageOccupationRate()
          Determine the average occupation of the cache in percentage.
 long getCacheSize()
          Get the cache size
 float getHitRate()
          Determine the hit rate (in percentage)
 long getNumOperations()
          Get the number of puts and gets performed on this cache.
 long getNumReads()
           
 

Method Detail

getHitRate

float getHitRate()
Determine the hit rate (in percentage)

Returns:
the hit rate (between 0 and 100)

getAverageOccupation

float getAverageOccupation()
Determine the average occupation of the cache.

Returns:
the average occupation

getAverageOccupationRate

float getAverageOccupationRate()
Determine the average occupation of the cache in percentage.

Returns:
the average occupation (between 0 and 100)

getCacheSize

long getCacheSize()
Get the cache size

Returns:
the cache size.

getNumOperations

long getNumOperations()
Get the number of puts and gets performed on this cache.

Returns:
the number of puts and gets performed on this cache.

getNumReads

long getNumReads()
Returns:
the number of items read out of the cache

Dashboard Builder Commons 6.0.0.Beta1

Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.