org.infinispan.stats
Interface Stats

All Known Implementing Classes:
StatsImpl

public interface Stats

Stats.

Since:
4.0
Author:
Galder ZamarreƱo

Method Summary
 int getCurrentNumberOfEntries()
          Returns the number of entries currently in this cache instance.
 long getEvictions()
           
 long getHits()
           
 long getMisses()
           
 long getRemoveHits()
           
 long getRemoveMisses()
           
 long getRetrievals()
           
 long getStores()
           
 long getTimeSinceStart()
           
 long getTotalNumberOfEntries()
           
 

Method Detail

getTimeSinceStart

long getTimeSinceStart()
Returns:
Number of seconds since cache started.

getCurrentNumberOfEntries

int getCurrentNumberOfEntries()
Returns the number of entries currently in this cache instance. When the cache is configured with distribution, this method only returns the number of entries in the local cache instance. In other words, it does not attempt to communicate with other nodes to find out about the data stored in other nodes in the cluster that is not available locally.

Returns:
Number of entries currently in the cache.

getTotalNumberOfEntries

long getTotalNumberOfEntries()
Returns:
Number of entries stored in cache .

getStores

long getStores()
Returns:
Number of put operations on the cache.

getRetrievals

long getRetrievals()
Returns:
Number of get operations.

getHits

long getHits()
Returns:
Number of cache get hits.

getMisses

long getMisses()
Returns:
Number of cache get misses.

getRemoveHits

long getRemoveHits()
Returns:
Number of cache removal hits.

getRemoveMisses

long getRemoveMisses()
Returns:
Number of cache removal misses.

getEvictions

long getEvictions()
Returns:
Number of cache eviction.

-->

Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.