Interface Stats (2.0.0)

public interface Stats

Statistics from the cache, available via MemcacheService#getStatistics()

Methods

getBytesReturnedForHits()

public abstract long getBytesReturnedForHits()

Sum of key and value bytes in successful get() and contains().

Returns
Type Description
long

getHitCount()

public abstract long getHitCount()

The counter of "successful" MemcacheService#get(Object) or MemcacheService#contains(Object) operations.

Returns
Type Description
long

getItemCount()

public abstract long getItemCount()

Number of entries currently "alive" in the cache.

Returns
Type Description
long

getMaxTimeWithoutAccess()

public abstract int getMaxTimeWithoutAccess()

Milliseconds since last access of least-recently-used live entry.

Returns
Type Description
int

getMissCount()

public abstract long getMissCount()

The counter of "unsuccessful" MemcacheService#get(Object) or MemcacheService#contains(Object) operations.

Returns
Type Description
long

getTotalItemBytes()

public abstract long getTotalItemBytes()

Sum of key and value sizes for all live entries currently in cache.

Returns
Type Description
long